project-bin-config

1.0.4 • Public • Published

project-bin-config

API to manage per project configuration.

It can identify up to three files,

- .local.json
- machines.json
- profiles.json

Install

npm i project-bin-config --save

API

  var Config = require('project-bin-config');
  new Config().load().get(env).forEach(function(machine){
    console.log(machine);
  });

Configuration

Create a .local.json file on root directory of your project.

{
  "servers":{
  },
  "profileData":{
  }
}

Create a machines.json file on root directory of your project.

{
  "machine1":{
  },
  "machine2":{
  },
  ":pool":{
  }
}

Create a profiles.json file on root directory of your project.

{
  "profile1":{
  },
  "profile2":{
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.40latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i project-bin-config

Weekly Downloads

0

Version

1.0.4

License

WTF

Last publish

Collaborators

  • maboiteaspam