Nostradamus Predicting Maelstroms

npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

instabot

0.1.3 • Public • Published

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, similar to this webpack plugin but for backend use. You can imagine it like this.

Showcase

installation

npm i instabot

usage

It is advised to use together with nodemon

// 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 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.

install

npm i instabot

Downloadsweekly downloads

24

version

0.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability