Skip to content

mileszim/dotfun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfun

Simple JSON dotfile implementation for node.js

Usage

var config = require('dotfile')('.mylocalrc');

config.set('something', 'configurable');
config.set('another', { key: 'value' });

config.get();
config.get('something');

If you want to set/get a dotfile from the user dir:

var config = require('dotfile')('.myuserrc', { home: true });
...

About

Simple JSON dotfile implementation for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages