dotfile

0.0.2 • Public • Published

dotfile

simple way to save and read dotfiles

var dotfile = require('dotfile')('foo');
 
dotfile.exists(function (yesno) {
  dotfile.write({a: 1}, function (err) {
    dotfiles.read(function (err, disk) {
      console.log(disk);
    });
  });
});
// outputs {a: 1}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    25
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    25
  • 0.0.1
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i dotfile

Weekly Downloads

27

Version

0.0.2

License

apache2

Last publish

Collaborators

  • dscape