2.1.1 • Published 9 years ago

level-promise v2.1.1

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

travis dep npm

level-promise

Promised LevelUp.

Installation

$ npm install level-promise

Warning

At the application level, promises vs callbacks is yours to choose. If you use this in a LevelUp extension that isn't explicitly about promises, I will find you and I will destroy you. Play nice with the rest, use callbacks for your extension. If your extension works with level-manifest, it'll work with this.

Usage

LevelPromise(db) (or LevelPromise.install(db), if that suits your tastes) and you're off! Every method marked as async by level-manifest will now return a promise when you don't pass it a callback. It recurses into sublevels.

License

MIT

2.1.1

9 years ago

2.1.0

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.3.1

11 years ago

1.3.0

11 years ago

1.2.6

12 years ago

1.2.5

12 years ago

1.2.4

12 years ago

1.2.3

12 years ago