think-store-file
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

think-store-file

Build Status Coverage Status npm

think-store-file use file to store content

Usage

import StoreFile from 'think-store-file';
let storeFileInst = new StoreFile(storePath);

let relativePath = 'abc/a.js';
await storeFileInst.set(relativePath, 'Thinkjs'); // set 'Thinkjs' as content
await storeFileInst.get(relativePath); // Thinkjs
await storeFileInst.delete(relativePath); // delete a.js

Readme

Keywords

Package Sidebar

Install

npm i think-store-file

Weekly Downloads

113

Version

1.1.1

License

ISC

Unpacked Size

9.21 kB

Total Files

8

Last publish

Collaborators

  • lizheming
  • welefen
  • sijiecai
  • lushijie
  • berwin
  • bezos
  • toxicjohann
  • huangxiaolu