the-setting

Setting manager for the-framework

move to @the-/setting ( https://github.com/the-labo/the/tree/master/packages/setting#readme )
Last updated 6 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.7                                ...           latest (6 months ago)

17 Versions

  • 3.0.7 [deprecated]           ...           6 months ago
  • 3.0.6 [deprecated]           ...           6 months ago
  • 3.0.5 [deprecated]           ...           a year ago
  • 3.0.4 [deprecated]           ...           a year ago
  • 3.0.0 [deprecated]           ...           a year ago
  • 2.1.0 [deprecated]           ...           a year ago
  • 2.0.1 [deprecated]           ...           a year ago
  • 2.0.0 [deprecated]           ...           2 years ago
  • 1.1.5 [deprecated]           ...           2 years ago
  • 1.1.4 [deprecated]           ...           2 years ago
  • 1.1.3 [deprecated]           ...           2 years ago
  • 1.1.2 [deprecated]           ...           2 years ago
  • 1.1.1 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 17
Dependencies (5)
Dev Dependencies (7)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |