GaiaDown
Gaia storage backend for LevelUP. The API implements the
abstract-leveldown interface. Specifically, this module needs a UserSession object to create the GaiaDOWN
instance. Furthermore, all the options that getFile
and putFile
take can also be used in the LevelDB instance.
This allows you to encrypt/decrypt and sign/verify your data.
Installation
npm install gaiadown-ts
Example
// Grab the UserSession object after logging in. // Can pass encrypt and sign options, same options as UserSession db.put'foo', 'bar', putOpts,
API
Please see LevelUP for API.