https://github.com/vladimyr/keyv-replitdb
Repl.it Database storage adapter for Keyv
https://github.com/vladimyr/keyv-replitdb
cache key-value keyv keyv-storage-adapter replit replitdb storage-adapter
Last synced: 3 days ago
JSON representation
Repl.it Database storage adapter for Keyv
- Host: GitHub
- URL: https://github.com/vladimyr/keyv-replitdb
- Owner: vladimyr
- License: mit
- Created: 2021-01-24T05:54:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T09:54:25.000Z (over 5 years ago)
- Last Synced: 2025-03-11T02:29:18.084Z (about 1 year ago)
- Topics: cache, key-value, keyv, keyv-storage-adapter, replit, replitdb, storage-adapter
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# keyv-replitdb
[](https://app.circleci.com/pipelines/github/vladimyr/keyv-replitdb?branch=master)
[](https://packagephobia.now.sh/result?p=keyv-replitdb)
[](https://npm.im/keyv-replitdb)
[](https://github.com/vladimyr/keyv-replitdb/blob/master/LICENSE)
[](https://github.com/standard/semistandard)
> [Repl.it Database](https://docs.repl.it/misc/database) storage adapter for [Keyv](https://github.com/lukechilds/keyv).
[](https://repl.it/github/vladimyr/keyv-replitdb)
## Install
```
npm install keyv keyv-replitdb
```
## Usage
```js
const ReplitDbStore = require('keyv-replitdb');
const Keyv = ReplitDbStore.extend(require('keyv'));
const keyv = new Keyv({ store: new ReplitDbStore() });
```