https://github.com/capaj/instabot
:bulb: one npm install should be enough for everyone :zap:-a tiny script(like under 20 lines) for auto installing missing npm dependencies which works well with nodemon
https://github.com/capaj/instabot
Last synced: over 1 year ago
JSON representation
:bulb: one npm install should be enough for everyone :zap:-a tiny script(like under 20 lines) for auto installing missing npm dependencies which works well with nodemon
- Host: GitHub
- URL: https://github.com/capaj/instabot
- Owner: capaj
- License: mit
- Created: 2016-08-22T21:57:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-02T01:51:23.000Z (over 9 years ago)
- Last Synced: 2025-03-30T23:01:55.457Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instabot
This is not an intagram bot. It's a tiny script(like under 20 lines) for installing missing npm dependencie which works well with [nodemon](https://github.com/remy/nodemon), similar to [this webpack plugin](https://github.com/ericclemmons/npm-install-webpack-plugin) but for backend use. You can imagine it like [this](http://pic.twitter.com/BeY5D4gQh1).

## installation
```
npm i instabot
```
## usage
It is advised to use together with [nodemon](https://github.com/remy/nodemon)
```javascript
// at the top of your main file
require('instabot')
// or
import 'instabot'
```
It is very lightweight and as fast as doing npm install yourself-it just runs the same command from node.js itself.
## Notice
Does not work in `NODE_ENV=production`. It just doesn't do anything by design.
It is probably a good idea to run [npm-check](https://github.com/dylang/npm-check) to make sure you're not having some unused npm dependencies once in a while, as it it is easy to leave some unused dependencies behind after rapid prototyping session.