1.2.1 • Published 7 years ago
load-opts v1.2.1
load-opts
Load opts config file.
Install
$ npm install load-opts --save
Usage
const loadOpts = require('load-opts')('myFileName')
loadOpts() // => [...]
How Works
- If you provide CLI params, then the methods returns it.
- If you don't provide CLI but a opts file exists in the path of the file, returns file params.
License
MIT © Kiko Beats