🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

npm-auto

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-auto

Auto installs npm dependencies from the script you want to run and runs the script

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

npm-auto

Auto installs npm dependencies from the script you want to run and runs the script

npm install npm-auto

Usage

First install npm-auto

npm install -g npm-auto

Then make a script that uses some dependencies

const hypercore = require('hypercore')
console.log('hypercore is', hypercore)

Then simply run the script with npm-auto. It will npm install any deps used by the script if they are not resolvable already.

npm-auto my-script.js

No more manual npm installs for gists!

License

MIT

FAQs

Package last updated on 10 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts