15.4.13 • Published 4 years ago

@the-/setting v15.4.13

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@the-/setting

npm Version

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

See API Guide for more detail

License

This software is released under the MIT License.

Links

15.4.13

4 years ago

15.4.6

5 years ago

15.4.3

5 years ago

15.4.2

5 years ago

15.2.3

5 years ago

15.2.0

5 years ago

15.1.4

5 years ago

15.1.3

5 years ago

15.1.2

5 years ago

15.1.0

5 years ago

15.0.3

5 years ago