deferred-leveldown
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name" : "deferred-leveldown" | ||
, "description" : "For handling delayed-open on LevelDOWN compatible libraries" | ||
, "version" : "0.0.0" | ||
, "version" : "0.0.1" | ||
, "contributors" : [ | ||
@@ -24,3 +24,3 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)" | ||
} | ||
, "homepage" : "https://github.com/rvagg/deferred-leveldown" | ||
, "homepage" : "https://github.com/Level/deferred-leveldown" | ||
, "keywords": [ | ||
@@ -41,5 +41,5 @@ "leveldb" | ||
, "scripts" : { | ||
"test" : "tap test/*-test.js --stderr" | ||
"test" : "node test.js" | ||
} | ||
, "license" : "MIT" | ||
} |
@@ -8,6 +8,14 @@ DeferredLevelDOWN | ||
[![Build Status](https://secure.travis-ci.org/rvagg/deferred-leveldown.png)](http://travis-ci.org/rvagg/deferred-leveldown) | ||
[![Build Status](https://secure.travis-ci.org/Level/deferred-leveldown.png)](http://travis-ci.org/rvagg/deferred-leveldown) | ||
[![NPM](https://nodei.co/npm/deferred-leveldown.png?stars&downloads)](https://nodei.co/npm/deferred-leveldown/) [![NPM](https://nodei.co/npm-dl/deferred-leveldown.png)](https://nodei.co/npm/deferred-leveldown/) | ||
[![NPM](https://nodei.co/npm/deferred-leveldown.png?compact)](https://nodei.co/npm/deferred-leveldown/) | ||
**DeferredLevelDOWN** implements the basic [AbstractLevelDOWN](https://github.com/rvagg/node-abstract-leveldown) API so it can be used as a drop-in replacement where LevelDOWN is needed. | ||
`put()`, `get()`, `del()` and `batch()` operations are all queued and kept in memory until a new LevelDOWN-compatible object can be supplied. | ||
The `setDb(db)` method is used to supply a new LevelDOWN object. Once received, all queued operations are replayed against that object, in order. | ||
`batch()` operations will all be replayed as the array form. Chained-batch operations are converted before being stored. | ||
Contributing | ||
@@ -48,2 +56,2 @@ ------------ | ||
DeferredLevelDOWN is licensed under an MIT +no-false-attribs license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details. | ||
DeferredLevelDOWN is licensed under an MIT +no-false-attribs license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
12234
7
130
1
56