https://github.com/tanohzana/missing-packages
A simple NPM package that allows to install missing packages required in files, but forgotten in package.json.
https://github.com/tanohzana/missing-packages
javascript missing node nodejs npm package
Last synced: about 2 months ago
JSON representation
A simple NPM package that allows to install missing packages required in files, but forgotten in package.json.
- Host: GitHub
- URL: https://github.com/tanohzana/missing-packages
- Owner: tanohzana
- License: mit
- Created: 2017-12-05T00:30:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T08:21:15.000Z (over 2 years ago)
- Last Synced: 2025-03-16T22:05:28.758Z (2 months ago)
- Topics: javascript, missing, node, nodejs, npm, package
- Language: JavaScript
- Homepage:
- Size: 2.67 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Missing-packages :cloud: :arrow_right: :sunny:
[](https://badge.fury.io/js/missing-packages)
[](https://img.shields.io/npm/dt/missing-packages.svg?style=flat)
[](https://travis-ci.com/tanohzana/missing-packages)## 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. :relieved:## Installation
1. Open your computer's terminal
2. Install [NodeJS](http://nodejs.org) if you haven't already
3. Install the package globally using: `npm i -g mp` or `npx mp [whatever]`## API
Default usage:
`mp `
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 `
or
`mp check `
#### Install missing packages in a file or directory
Go to your project's directory and type:
`mp i `
or
`mp install `
## Examples
You can go to the examples/ directory and type:
`mp install example2.js`
or
`mp c examples`
## Contributing
Go to [Contributing.md](./CONTRIBUTING.md)
:relaxed: