JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q45911F
  • License ISC

Database interface layer for network client

Package Exports

  • @polkadot/client-db
  • @polkadot/client-db/defaults

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 (@polkadot/client-db) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

polkadotjs isc style npm travis maintainability coverage dependency devDependency

@polkadot/client-db

An interface to the database layer

Usage

Installation -

npm install --save @polkadot/client-db

Usage -

const DB = require('@polkadot/client-db');

const db = new DB({ path: '/tmp' }, 'my-awesome-db');

db.put('some-key', '12345');