swint-configure

1.0.12 • Public • Published

swint-configure

Greenkeeper badge The Swint-style helper for configuring the environment for applications

Warning: This is not the final draft yet, so do not use this until its official version is launched

Installation

$ npm install --save swint-configure

Options

  • dir : String, default: path.join(path.dirname(require.main.filename), 'config')
  • mode : String, default: 'local'
  • secret : Object, default: {}

Usage

var config = configure({
    dir: path.join(__dirname, 'config'),
    mode: 'production',
    secret: {
        key: 'my-secret-api-key'
    }
});

Readme

Keywords

Package Sidebar

Install

npm i swint-configure

Weekly Downloads

36

Version

1.0.12

License

MIT

Unpacked Size

8.3 kB

Total Files

11

Last publish

Collaborators

  • knowre