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.

Dependencies (1)

Dev Dependencies (2)

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