1.0.12 • Published 7 years ago
swint-configure v1.0.12
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-configureOptions
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'
}
});