Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

thinkjs/think-store-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository has been migrated. For ongoing updates, please see https://github.com/thinkjs/thinkjs/tree/master/packages/think-store-file.

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

About

Use file to store content

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors