vamo
v1.0.0
Published
Run Node scripts with dependencies without npm installing them
Downloads
12
Readme
vamo
Run Node scripts with dependencies without npm installing them.
Quick start
First, install the package globally. You can also use npx
if you will.
npm install -g vamo
Now you can run any Node script without worrying about the dependencies as they will be installed at runtime.
// index.js
const dayjs = require('dayjs')
console.log('Today is:')
console.log(dayjs().format('DD/MM/YYYY'))
➜ vamo index.js
+ dayjs@1.9.1
added 1 package from 1 contributor and audited 1 package in 0.643s
found 0 vulnerabilities
Today is:
09/10/2020
Usage
Usage: vamo <filename>
Run Node scripts with dependencies without npm installing them
Options:
-V, --version output the version number
-h, --help display help for command
Contributing
Issues and pull requests are welcome.