dotfile-config

get and set dotfile as a json config

Usage no npm install needed!

<script type="module">
  import dotfileConfig from 'https://cdn.skypack.dev/dotfile-config';
</script>

README

dotfile-config

NPM version Gittip

get and set dotfile as a json config

Installation

$ npm install dotfile-config

Usage

var config = require('dotfile-config')('.configrc');

config.set({
  foo: 'bar'
});

console.log(config.get()); // {foo: 'bar'}

License

MIT