pal

0.3.4 • Public • Published

Pal NPM version Build status

Key-value database inspired by PalDB.

Installation

$ npm install pal

pal is compatible with all node.js versions above 2.0.

Documentation

Examples

var pal = require('pal');
  • Create a database:

    var ws = pal.Db.createWriteStream('sample.pal')
    ws.write({key: 12, value: 'twelve'})
    ws.write({key: 48, value: 'forty-eight'})
    ws.end();
  • Load a database and retrieve values:

    var db = new pal.Db('sample.pal');
    var str = db.get(48); // 'forty-eight'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.4
    1
    • latest

Version History

Package Sidebar

Install

npm i pal

Weekly Downloads

1

Version

0.3.4

License

MIT

Last publish

Collaborators

  • mtth