New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

try-node-cli-packages

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

try-node-cli-packages

A demo of popular npm packages for CLI development.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

try-node-cli-packages

npm

A tool to demonstrate and test popular Node.js packages for CLI application development. Companion blog post here.

Usage

Install globally,

$ npm install --location=global try-node-cli-packages

and then use the try command to display and run sample code for any supported package.

$ try commander
$ try meow
$ try chalk

To run but not display the sample code, use the --nocode flag.

$ try --nocode commander

Development

To run this package from source, clone this repo with

$ git clone https://github.com/joeykilpatrick/try-node-cli-packages.git
$ cd try-node-cli-packages

Install dependencies,

$ npm install

Create a symbolic link to your clone,

$ npm link

Compile,

$ npm run compile

And then run your code with

$ try <package>

For convenience, the watch-compile npm script is available and will watch the source files and recompile on any changes.

$ npm run watch-compile

FAQs

Package last updated on 24 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts