the-setting
Setting manager for the-framework
Last updated 3 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ 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

Current Tags

  • 3.0.5                                ...           latest (3 months ago)

15 Versions

  • 3.0.5                                ...           3 months ago
  • 3.0.4                                ...           4 months ago
  • 3.0.0                                ...           4 months ago
  • 2.1.0                                ...           9 months ago
  • 2.0.1                                ...           10 months ago
  • 2.0.0                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 17
Last Day 15
Last Week 17
Last Month 16
Dependencies (5)
Dev Dependencies (7)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |