encoding-iterator

1.1.0 • Public • Published

Nosql Encoding Iterator.

Build Status

NPM

Add the encoding ability to the abstract-iterator.

Usage

Add the Encoding ability to a nosql database

Just see the nosql-encoding

var addEncodingFeatureTo = require("nosql-encoding")
var LevelDB  = addEncodingFeatureTo(require("leveldown-sync"))
 
var db = LevelDB('location')
db.open({keyEncoding: 'text', valueEncoding: 'json'})
 

Develop a nosql iterator with encoding ability

There is no need to force inherited from the Encoding class.

Please let the user decide whether to use the Encoding feature.

Encoding Codec

See buffer-codec.

/encoding-iterator/

    Package Sidebar

    Install

    npm i encoding-iterator

    Weekly Downloads

    8

    Version

    1.1.0

    License

    none

    Last publish

    Collaborators

    • riceball