Manage settings library, like as pit.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

node confy

Manage settings library, like as pit.

Install

$ npm install confy

Usage

javascript code

Get config from current profile.

var confy = require('confy');

confy.get('twitter.com', { require: {
  username: '',
  password: ''
}}, function(err, result) {
  console.log(result);
});

If not set values, open setting your $EDITOR.

command line

set config

$ confy set twitter.com
open $EDITOR

get config

$ confy get twitter.com
{ username: 'xxx', password: 'xxx' }

switch profile

$ confy use develop

clean all datas

$ confy clean