JSPM

  • Created
  • Published
  • Downloads 767
  • Score
    100M100P100Q100959F
  • License Apache-2.0

An Easy to Use Key-Value DB built on top of LevelDB

Package Exports

  • flash-store

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flash-store) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

FLASH-STORE

Powered by LevelDB Powered by TypeScript

Build Status NPM Version Downloads node

FlashStore is a Key-Value database tool and makes using leveldb more easy for Node.js

flash store

EXAMPLE

try the following command

npm install
npm run demo

The basic function as follows:

import { FlashStore } from 'flash-store'
const flashStore = new FlashStore('falshstore.workdir')
await flashStore.put(1, 'a')
console.log(`key: 1, value: ${await flashStore.get(1)}`)
await flashStore.del(1)
console.log(`key: 1, value: ${await flashStore.get(1)}`)

DOCUMENT

See auto generated docs

SEE ALSO

  1. Node.js databases: an embedded database using LevelDB
  2. How to Cook a Graph Database in a Night - LevelGraph
  3. Graph database JS style for Node.js and the Browser. Built upon LevelUp and LevelDB.
  4. 浅析 Bigtable 和 LevelDB 的实现

AUTHOR

Huan LI <zixia@zixia.net> (http://linkedin.com/in/zixia)

profile for zixia at Stack Overflow, Q&A for professional and enthusiast programmers
  • Code & Docs © 2017 Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons