Nostalgic Primordial Monster
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    dotfilepublic

    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} 

    Keywords

    none

    install

    npm i dotfile

    Downloadslast 7 days

    5

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar