npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tars-cli

v1.13.1

Published

CLI utility for TARS

Downloads

224

Readme

TARS-CLI

NPM version Downloads Mac/Linux Build Status Windows Build status Gitter

TARS-CLI — Command Line Interface for the TARS markup builder TARS.

The main problem in developing markup with TARS is all npm-dependences installing for each project every time. As the result, each project takes more than 200MB. To simplify initialization of the project and the work with TARS TARS-CLI was established. All TARS basic documentation is in the original TARS repository TARS.

TARS-CLI is just an interface of the main builder, which allows you to:

  • Initialize the project.
  • Start dev-command with browser reloading and opening tunnel to the Internet.
  • Start the build-command with the minified files or in release mode.
  • Add component with different set of files.
  • Add empty page or copy an existing page.

If you have any problems with TARS-CLI, please read the troubleshooting docs.

How to install

You have to install TARS-CLI globally:

npm i -g tars-cli

If you get a Permission denied or Error: EACCES error, you should run the previous command again in sudo.

If you use Node.js version 5.x.x, please, be sure, that you use npm version 3.3.10 and higher. Otherwise update npm by using command:

npm i -g npm

For Windows you have to do some more steps:

  • navigate to C:\Program Files (x86)\nodejs or C:\Program Files\nodejs via cmd.exe or any available terminal. The path depends on how Node.js was installed;
  • run command npm install npm@latest.

If you get a Permission denied or Error: EACCES error, you should run the previous command again in sudo.

Initialize your first project with:

tars init

TARS-CLI commands

All commands have similar template of executing:

tars + command-name + flags

You can run the tars --help or tars -h or just tars without additional command and flags at any moment. This command displays information about all available commands and flags. Also you can add the --help key or -h key to any command to get full description of this command.

tars -v or tars --version will display current version of TARS-CLI installed on your computer and current version of TARS in current project. Also, you will be informed about updating, if it is available.

Almost all command has the interactive mode. In this mode you can to communicate with CLI like it has its own GUI. If you are using interactive mode you don’t need to know what the flags are responsible for, because you are communicate with CLI with natural language. Interactive mode is easy to disable if you use automatic testing or something else that doesn’t require the human presence.

Command list

Feel free to write to [email protected] or gitter and ask me all question about TARS-CLI.