json-configure
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-beta.6 • Public • Published

json-configure

description:

sync use config file

Features

  • long cache file
  • sync write/read.

Try it now

import { Configure } from 'json-configure';

const config = new Configure();

config.write('name', 'zwkang');

console.log(jsonConfigure.read('name'));
// zwkang


jsonConfigure.clear // remove save file
jsonConfigure.clearCache // remove cache

LICENSE

MIT License © 2022 zwkang

Readme

Keywords

none

Package Sidebar

Install

npm i json-configure

Weekly Downloads

3

Version

0.0.1-beta.6

License

MIT

Unpacked Size

97.9 kB

Total Files

7

Last publish

Collaborators

  • zwkang