Skip to content

ecomfe/edp-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edp-config

Build Status Dependencies Status

Package for edp configuration.

Usage

var edpConfig = require( 'edp-config' );
edpConfig.set( 'user.name', yourname );
edpConfig.get( 'user.name' );

API

all()

Get all configuration items.

get( name )

Get configuration item.

  • name {string}

set( name, value )

Set configuration item.

  • name {string}
  • value {JSON}