JSPM

load-opts

1.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q41824F
  • License MIT

Load opts config file.

Package Exports

  • load-opts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (load-opts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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