Skip to content

The Swint style helper for configuring the environment for applications

License

Notifications You must be signed in to change notification settings

Knowre-Dev/swint-configure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
	}
});

About

The Swint style helper for configuring the environment for applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published