swint-configure
v1.0.12
Published
The Swint-style helper for configuring the environment for applications
Downloads
218
Readme
swint-configure
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'
}
});