0.1.1 • Published 6 years ago

node-auto-install v0.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

Automatic install requred dependencies for you.

Features

  • Automatic install dependencies on runtime
  • Support both Yarn and npm
  • No more Cannot find module 'xxx'!

Install

$ npm install -g node-auto-install

Usage

$ nodeai --help

  Usage
    $ nodeai <file>

  Options

  Examples
    $ nodeai
    $ nodeai index.js

Or using node -r option:

node -r nodeai/register

Tips

Pass options to node

You can pass all options accepted by Node cli to nodeai.

Created by

License

MIT