confy

Manage settings library, like as pit.

node confy

Manage settings library, like as pit.

$ npm install confy

Get config from current profile.

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

If not set values, open setting your $EDITOR.

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