Add the encoding ability to the abstract-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'})
There is no need to force inherited from the Encoding class.
Please let the user decide whether to use the Encoding feature.
See buffer-codec.