This package has been deprecated

Author message:

move to @the-/setting ( https://github.com/the-labo/the/tree/master/packages/setting#readme )

the-setting

3.0.7 • Public • Published

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

/the-setting/

    Package Sidebar

    Install

    npm i the-setting

    Weekly Downloads

    7

    Version

    3.0.7

    License

    MIT

    Unpacked Size

    84.1 kB

    Total Files

    46

    Last publish

    Collaborators

    • okunishinishi