Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfoel/vamo
Run Node scripts with dependencies without npm installing them
https://github.com/rfoel/vamo
Last synced: 4 days ago
JSON representation
Run Node scripts with dependencies without npm installing them
- Host: GitHub
- URL: https://github.com/rfoel/vamo
- Owner: rfoel
- License: mit
- Created: 2020-10-09T13:25:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-09T14:50:50.000Z (about 4 years ago)
- Last Synced: 2024-11-04T04:02:52.263Z (9 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vamo
[![npm version](https://badge.fury.io/js/vamo.svg)](https://www.npmjs.com/package/vamo)
[![GitHub license](https://img.shields.io/github/license/rfoel/vamo.svg)](https://github.com/rfoel/vamo/blob/master/LICENSE) ![GitHub stars](https://img.shields.io/github/stars/rfoel/vamo?style=social)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.jsconst dayjs = require('dayjs')
console.log('Today is:')
console.log(dayjs().format('DD/MM/YYYY'))
``````
➜ vamo index.js
+ [email protected]
added 1 package from 1 contributor and audited 1 package in 0.643s
found 0 vulnerabilitiesToday is:
09/10/2020
```## Usage
```
Usage: vamoRun 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.
## License
[MIT](https://github.com/rfoell/vamo/blob/master/LICENSE)