3.0.7 • Published 5 years ago
the-setting v3.0.7
the-setting
Setting manager for the-framework
Installation
$ npm install the-setting --save
Usage
'use strict'
const theSetting = require('the-setting')
async function tryExample () {
const setting = theSetting('.setting.json', {
foo: 1
})
setting.set({foo: 2})
console.log(setting.get('foo')) // -> 2
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.