Skip to content

A simple NPM package that allows to install missing packages required in files, but forgotten in package.json.

License

Notifications You must be signed in to change notification settings

tanohzana/missing-packages

Repository files navigation

Missing-packages ☁️ ➡️ ☀️

npm version npm downloads Build Status

What is Missing-packages

Missing-packages (mp) is a tool you will love to use whenever you create a NodeJS package. It is used to check that all packages used in a file or directory are well installed in the 'node_modules' directory. 😌

Installation

  1. Open your computer's terminal
  2. Install NodeJS if you haven't already
  3. Install the package globally using: npm i -g mp or npx mp [whatever]

API

Default usage:

mp <path>

will ask to install missing packages found

Check missing packages in a file or directory

Go to your project's directory and type:

mp c <path>

or

mp check <path>

Install missing packages in a file or directory

Go to your project's directory and type:

mp i <path>

or

mp install <path>

Examples

You can go to the examples/ directory and type:

mp install example2.js

or

mp c examples

Contributing

Go to Contributing.md

☺️

About

A simple NPM package that allows to install missing packages required in files, but forgotten in package.json.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published