1.2.1 • Published 7 years ago

load-opts v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

load-opts

Last version Build Status Dependency status Dev Dependencies Status NPM Status Donate

Load opts config file.

Install

$ npm install load-opts --save

Usage

const loadOpts = require('load-opts')('myFileName')
loadOpts() // => [...]

How Works

  1. If you provide CLI params, then the methods returns it.
  2. If you don't provide CLI but a opts file exists in the path of the file, returns file params.

License

MIT © Kiko Beats

1.2.1

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago