Auto-install

auto-install

Auto installs dependencies as you code on save.

Have you ever wished that need to having a tool that would just do an npm install of modules that you import?

Well, here is auto-install that does exactly what you wished for!

Get it: npm install -g auto-install

Sample usage:

1
2
3
4
5
6
7
8
9
10
# In case you run it in a folder that doesn't have a `package.json`

$ auto-install --help
package.json does not exist
You can create one by using `npm init`

# With a package.json

$ auto-install
Watchers initialized

CLI Flags:

--secure Install popular modules only (> 10k downloads in the last month)

--exact Install exact version similar to npm install express --save-exact

--dont-uninstall Do not uninstall unused modules

P.S: Does it protect against typosquatting?

GIF FTW!

auto-install

Suggest a module

Comments