This package has been deprecated

Author message:

use neuron-tree instead

neuron-config

0.2.0 • Public • Published

neuron-config NPM version Build Status Dependency Status

Install

$ npm install neuron-config --save

Usage

var nconfig = require('neuron-config');
 
// pass package json and built_root
nconfig({
  pkg: pkg,
  built_root: built_root,
  cwd: cwd // when cwd is passed, neuron-config will try to read 'cortex-shrinkwrap.json' in cwd
}, function(err, config) {
  var output ='neuron.config(' + JSON.stringify(config) + ')';
 
});
 
// or already has a shrinkwrap tree 
nconfig({
  tree: tree
}, function(err, config) {
  
});
 
 
// pass shrinked object
nconfig({
  shrinked: shrinked
}, function(err, config) {
  
});
 
 

Licence

MIT

Package Sidebar

Install

npm i neuron-config

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • villadora
  • kael