config-creator

0.0.4 • Public • Published

Config-creator

Create configuration file from json schema and environment variables.

Example

const config = require('./config');
const schema = require('./schema');
const config_creator = require('config-creator');
 
const result_config = config_creator.parse(config, schema);
 

Creator.parse(config:Object, schema:Object, prefix:str) → Object

Synchronously create json from schema.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i config-creator

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

33.3 kB

Total Files

17

Last publish

Collaborators

  • samuray