load-opts

1.2.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i load-opts

Weekly Downloads

3

Version

1.2.1

License

MIT

Last publish

Collaborators

  • kikobeats