Skip to content

Commit

Permalink
s/rvagg\/node-/level\//
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Apr 26, 2015
1 parent 9cbf592 commit 8470a63
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 53 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ LevelDOWN
A Low-level Node.js LevelDB binding
-------------------------

[![Build Status](https://secure.travis-ci.org/rvagg/node-leveldown.png)](http://travis-ci.org/rvagg/node-leveldown)
[![Build Status](https://secure.travis-ci.org/Level/leveldown.png)](http://travis-ci.org/Level/leveldown)

[![NPM](https://nodei.co/npm/leveldown.png?stars&downloads&downloadRank)](https://nodei.co/npm/leveldown/) [![NPM](https://nodei.co/npm-dl/leveldown.png?months=6&height=3)](https://nodei.co/npm/leveldown/)

LevelDOWN was extracted from [LevelUP](https://github.com/rvagg/node-levelup) and now serves as a stand-alone binding for LevelDB.
LevelDOWN was extracted from [LevelUP](https://github.com/level/levelup) and now serves as a stand-alone binding for LevelDB.

It is **strongly recommended** that you use LevelUP in preference to LevelDOWN unless you have measurable performance reasons to do so. LevelUP is optimised for usability and safety. Although we are working to improve the safety of the LevelDOWN interface it is still easy to crash your Node process if you don't do things in just the right way.

Expand All @@ -25,7 +25,7 @@ Tested & supported platforms
* **Solaris** (SmartOS & Nodejitsu)
* **FreeBSD**
* **Windows**
* Node 0.10 and above only, see [issue #5](https://github.com/rvagg/node-levelup/issues/5) for more info
* Node 0.10 and above only, see [issue #5](https://github.com/level/levelup/issues/5) for more info
* See installation instructions for *node-gyp* dependencies [here](https://github.com/TooTallNate/node-gyp#installation), you'll need these (free) components from Microsoft to compile and run any native Node add-on in Windows.

<a name="api"></a>
Expand Down Expand Up @@ -148,7 +148,7 @@ The `callback` function will be called with no arguments if the operation is suc
### leveldown#batch(operations[, options], callback)
<code>batch()</code> is an instance method on an existing database object. Used for very fast bulk-write operations (both *put* and *delete*). The `operations` argument should be an `Array` containing a list of operations to be executed sequentially, although as a whole they are performed as an atomic operation inside LevelDB. Each operation is contained in an object having the following properties: `type`, `key`, `value`, where the *type* is either `'put'` or `'del'`. In the case of `'del'` the `'value'` property is ignored. Any entries with a `'key'` of `null` or `undefined` will cause an error to be returned on the `callback`. Any entries where the *type* is `'put'` that have a `'value'` of `undefined`, `null`, `[]`, `''` or `new Buffer(0)` will be stored as a zero-length character array and therefore be fetched during reads as either `''` or `new Buffer(0)` depending on how they are requested.

See [LevelUP](https://github.com/rvagg/node-levelup#batch) for full documentation on how this works in practice.
See [LevelUP](https://github.com/level/levelup#batch) for full documentation on how this works in practice.

#### `options`

Expand Down Expand Up @@ -289,7 +289,7 @@ LevelDOWN is an **OPEN Open Source Project**. This means that:

> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the [CONTRIBUTING.md](https://github.com/rvagg/node-leveldown/blob/master/CONTRIBUTING.md) file for more details.
See the [CONTRIBUTING.md](https://github.com/level/leveldown/blob/master/CONTRIBUTING.md) file for more details.

### Contributors

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
],
"repository": {
"type": "git",
"url": "https://github.com/rvagg/node-leveldown.git"
"url": "https://github.com/level/leveldown.git"
},
"homepage": "https://github.com/rvagg/node-leveldown",
"homepage": "https://github.com/level/leveldown",
"keywords": [
"leveldb",
"level"
Expand Down
6 changes: 3 additions & 3 deletions src/async.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_ASYNC_H
Expand Down
6 changes: 3 additions & 3 deletions src/batch_async.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/


Expand Down
6 changes: 3 additions & 3 deletions src/batch_async.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_BATCH_ASYNC_H
Expand Down
7 changes: 3 additions & 4 deletions src/database.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License
* <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <node.h>
Expand Down
6 changes: 3 additions & 3 deletions src/database.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_DATABASE_H
Expand Down
6 changes: 3 additions & 3 deletions src/database_async.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <node.h>
Expand Down
6 changes: 3 additions & 3 deletions src/database_async.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_DATABASE_ASYNC_H
Expand Down
6 changes: 3 additions & 3 deletions src/iterator.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <node.h>
Expand Down
6 changes: 3 additions & 3 deletions src/iterator.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_ITERATOR_H
Expand Down
6 changes: 3 additions & 3 deletions src/iterator_async.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <node.h>
Expand Down
6 changes: 3 additions & 3 deletions src/iterator_async.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_ITERATOR_ASYNC_H
Expand Down
6 changes: 3 additions & 3 deletions src/leveldown.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <node.h>
Expand Down
6 changes: 3 additions & 3 deletions src/leveldown.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/
#ifndef LD_LEVELDOWN_H
#define LD_LEVELDOWN_H
Expand Down
6 changes: 3 additions & 3 deletions src/leveldown_async.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#include <leveldb/db.h>
Expand Down
6 changes: 3 additions & 3 deletions src/leveldown_async.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright (c) 2012-2014 LevelDOWN contributors
* See list at <https://github.com/rvagg/node-leveldown#contributing>
* MIT License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE.md>
/* Copyright (c) 2012-2015 LevelDOWN contributors
* See list at <https://github.com/level/leveldown#contributing>
* MIT License <https://github.com/level/leveldown/blob/master/LICENSE.md>
*/

#ifndef LD_LEVELDOWN_ASYNC_H
Expand Down

0 comments on commit 8470a63

Please sign in to comment.