# think-store-file

> store content use file

Latest version **1.1.1** (published 2022-02-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install think-store-file
pnpm add think-store-file
yarn add think-store-file
bun add think-store-file
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2022-02-20 |
| First published | 2017-03-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | lushijie |
| Maintainers | lizheming, welefen, sijiecai, lushijie, berwin, bezos, toxicjohann, huangxiaolu |
| Keywords | think-store-file |

## Links

- npm: https://www.npmjs.com/package/think-store-file
- Repository: https://github.com/thinkjs/think-store-file
- Homepage: https://github.com/thinkjs/think-store-file#readme
- Issues: https://github.com/thinkjs/think-store-file/issues
- npm.io page: https://npm.io/package/think-store-file

## Dependencies (2)

- [think-helper](https://npm.io/package/think-helper.md) ^1.1.3
- [think-debounce](https://npm.io/package/think-debounce.md) ^1.0.3

## Recent versions

- 1.1.1 (latest) — 2022-02-20
- 1.1.0 — 2022-02-19
- 1.0.12 — 2021-07-01
- 1.0.11 — 2019-12-23
- 1.0.10 — 2018-08-21
- 1.0.9 — 2018-04-19
- 1.0.8 — 2017-07-14
- 1.0.7 — 2017-05-20
- 1.0.6 — 2017-05-14
- 1.0.5 — 2017-03-19
- 1.0.2 — 2017-03-19
- 1.0.1 — 2017-03-19

## README

# think-store-file
[![Build Status](https://travis-ci.org/thinkjs/think-store-file.svg?branch=master)](https://travis-ci.org/thinkjs/think-store-file)
[![Coverage Status](https://coveralls.io/repos/github/thinkjs/think-store-file/badge.svg?branch=master)](https://coveralls.io/github/thinkjs/think-store-file?branch=master)
[![npm](https://img.shields.io/npm/v/think-store-file.svg?style=flat-square)](https://www.npmjs.com/package/think-store-file)

`think-store-file` use file to store content


## Usage


```js
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

```

---
_Source: https://npm.io/package/think-store-file · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
