包详细信息

edp-config

ecomfe6.7k1.0.2

Package for edp configuration

自述文件

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}