Skip to content

snowyu/node-nosql-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nosql Encoding Ability.

Build Status

NPM

Add the encoding ability to the abstract-nosql database.

Usage

Add the Encoding ability to a nosql database

npm install 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 database 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.

About

add the encoding ability to abstract-nosql database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published