1.0.0 • Published 10 years ago

nppi v1.0.0

Weekly downloads
2
License
MPL-2.0
Repository
-
Last release
10 years ago

Node Packages Parser Installer License

XO code style Build Status Inline docs

nppi is a tool that lets you parse files searching for their dependencies and install them. Really useful if you have downloaded a project or a file without its package.json. Super useful if you have downloaded a huge gulpfile.js from some gist.

Install

npm install nppi -g

Usage

nppi <pattern> [options]

Options

--save adds the packages to a package.json (you have to create it before, npm init)

--save-dev adds the packages to a package.json as dev-dependencies

Blacklist

Files contained in node_modules and bower_components will never be parsed.

Examples

nppi ./*.js                    # parses every .js file in the current folder
nppi ./project/**/*.jsx        # parses project folder and all folders inside it looking for .jsx files
nppi gulpfile.js --save-dev    # parses gulpfile.js file only, updates package.json
nppi **/*.js --save            # parses current folder and all folders inside it, updates package.json
1.0.0

10 years ago

0.5.0

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago