load-opts
v1.2.1
Published
Load opts config file.
Readme
load-opts
Load opts config file.
Install
$ npm install load-opts --saveUsage
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
