the-setting
Setting manager for the-framework
Last updated 17 days ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install the-setting 
SYNC missed versions from official npm registry.

the-setting

Build Status npm Version JS Standard

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.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 59
Dependencies (5)
Dev Dependencies (7)
Dependents (2)

Copyright 2014 - 2018 © taobao.org |