Skip to content
Browse files

aliases for new stream method names

  • Loading branch information...
1 parent b812dde commit 5e8c2871303a882c552d38d515e831adb973d1b6 @juliangruber committed Apr 1, 2013
Showing with 5 additions and 3 deletions.
  1. +1 −1 README.md
  2. +3 −1 lib/method_names.js
  3. +1 −1 package.json
View
2 README.md
@@ -43,7 +43,7 @@ var isOpen = db.isOpen()
db.on('put', function () { /* */ })
// streams
-db.readStream().on('data', function () { /* */ })
+db.createReadStream().on('data', function () { /* */ })
```
## API
View
4 lib/method_names.js
@@ -1,6 +1,8 @@
var methods = {
"stream" : [
- "readStream", "keyStream", "valueStream", "writeStream"
+ "readStream", "keyStream", "valueStream", "writeStream",
+ "createReadStream", "createKeyStream", "createValueStream",
+ "createWriteStream"
],
"sync" : [
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "multilevel",
- "version": "2.0.3",
+ "version": "2.1.0",
"description": "A levelUp instance exposed over a streaming interface",
"main": "index.js",
"scripts": {

0 comments on commit 5e8c287

Please sign in to comment.
Something went wrong with that request. Please try again.