[Pkg-javascript-commits] [node-level] 01/02: Imported Upstream version 0.18.0

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Mon Jun 30 20:31:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to branch master
in repository node-level.

commit 9b617c2423ebbbadbc2a966ff67a0954b2a0f2aa
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Mon Jun 30 20:28:25 2014 +0000

    Imported Upstream version 0.18.0
---
 .gitignore      |  1 +
 .travis.yml     | 23 +++++++++++++++++
 CONTRIBUTING.md | 27 ++++++++++++++++++++
 LICENSE         | 39 +++++++++++++++++++++++++++++
 README.md       | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 level.js        |  1 +
 package.json    | 46 ++++++++++++++++++++++++++++++++++
 test.js         |  1 +
 8 files changed, 215 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b512c09
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+node_modules
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..09b947e
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+language: node_js
+node_js:
+  - "0.8"
+  - "0.10"
+branches:
+  only:
+    - master
+notifications:
+  email:
+    - r at va.gg
+    - john at chesl.es
+    - raynos2 at gmail.com
+    - dominic.tarr at gmail.com
+    - max at maxogden.com
+    - lars.magnus.skog at gmail.com
+    - david.bjorklund at gmail.com
+    - julian at juliangruber.com
+    - paolo at async.ly
+    - anton.whalley at nearform.com
+    - matteo.collina at gmail.com
+    - pedro.teixeira at gmail.com
+    - mail at substack.net
+script: npm test
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..bb0871f
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,27 @@
+# Level is an OPEN Open Source Project
+
+-----------------------------------------
+
+## What?
+
+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.
+
+## Rules
+
+There are a few basic ground-rules for contributors:
+
+1. **No `--force` pushes** or modifying the Git history in any way.
+1. **Non-master branches** ought to be used for ongoing work.
+1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
+1. Internal pull-requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
+1. Contributors should attempt to adhere to the prevailing code-style.
+
+## Releases
+
+Declaring formal releases remains the prerogative of the project maintainer.
+
+## Changes to this arrangement
+
+This is an experiment and feedback is welcome! This document may also be subject to pull-requests or changes by contributors where you believe you have something valuable to add or change.
+
+-----------------------------------------
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..76d07a0
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,39 @@
+Copyright 2012, Rod Vagg (the "Original Author")
+All rights reserved.
+
+MIT +no-false-attribs License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Distributions of all or part of the Software intended to be used
+by the recipients as they would use the unmodified Software,
+containing modifications that substantially alter, remove, or
+disable functionality of the Software, outside of the documented
+configuration mechanisms provided by the Software, shall be
+modified such that the Original Author's bug reporting email
+addresses and urls are either replaced with the contact information
+of the parties responsible for the changes, or removed entirely.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+
+Except where noted, this license applies to any and all software
+programs and associated documentation files created by the
+Original Author, when distributed with the Software.
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ed4655d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,77 @@
+Level
+=====
+
+![LevelDB Logo](https://twimg0-a.akamaihd.net/profile_images/3360574989/92fc472928b444980408147e5e5db2fa_bigger.png)
+
+**Fast & simple storage - a Node.js-style LevelDB wrapper**
+
+[![Build Status](https://secure.travis-ci.org/Level/level.png)](http://travis-ci.org/Level/level)
+
+[![NPM](https://nodei.co/npm/level.png?stars&downloads)](https://nodei.co/npm/level/) [![NPM](https://nodei.co/npm-dl/level.png)](https://nodei.co/npm/level/)
+
+
+This is a convenience package that bundles the current release of **[LevelUP](https://github.com/rvagg/node-levelup)** and **[LevelDOWN](https://github.com/rvagg/node-leveldown)** and exposes LevelUP on its export.
+
+Use this package to avoid having to explicitly install LevelDOWN when you just want plain old LevelDB from LevelUP.
+
+```js
+var level = require('level')
+
+// 1) Create our database, supply location and options.
+//    This will create or open the underlying LevelDB store.
+var db = level('./mydb')
+
+// 2) put a key & value
+db.put('name', 'Level', function (err) {
+  if (err) return console.log('Ooops!', err) // some kind of I/O error
+
+  // 3) fetch by key
+  db.get('name', function (err, value) {
+    if (err) return console.log('Ooops!', err) // likely the key was not found
+
+    // ta da!
+    console.log('name=' + value)
+  })
+})
+```
+
+See **[LevelUP](https://github.com/rvagg/node-levelup)** and **[LevelDOWN](https://github.com/rvagg/node-leveldown)** for more details.
+
+<a name="contributing"></a>
+Contributing
+------------
+
+Level 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/Level/level/blob/master/CONTRIBUTING.md) file for more details.
+
+### Contributors
+
+Level, including LevelUP & LevelDOWN, is only possible due to the excellent work of the following contributors:
+
+<table><tbody>
+<tr><th align="left">Rod Vagg</th><td><a href="https://github.com/rvagg">GitHub/rvagg</a></td><td><a href="http://twitter.com/rvagg">Twitter/@rvagg</a></td></tr>
+<tr><th align="left">John Chesley</th><td><a href="https://github.com/chesles/">GitHub/chesles</a></td><td><a href="http://twitter.com/chesles">Twitter/@chesles</a></td></tr>
+<tr><th align="left">Jake Verbaten</th><td><a href="https://github.com/raynos">GitHub/raynos</a></td><td><a href="http://twitter.com/raynos2">Twitter/@raynos2</a></td></tr>
+<tr><th align="left">Dominic Tarr</th><td><a href="https://github.com/dominictarr">GitHub/dominictarr</a></td><td><a href="http://twitter.com/dominictarr">Twitter/@dominictarr</a></td></tr>
+<tr><th align="left">Max Ogden</th><td><a href="https://github.com/maxogden">GitHub/maxogden</a></td><td><a href="http://twitter.com/maxogden">Twitter/@maxogden</a></td></tr>
+<tr><th align="left">Lars-Magnus Skog</th><td><a href="https://github.com/ralphtheninja">GitHub/ralphtheninja</a></td><td><a href="http://twitter.com/ralphtheninja">Twitter/@ralphtheninja</a></td></tr>
+<tr><th align="left">David Björklund</th><td><a href="https://github.com/kesla">GitHub/kesla</a></td><td><a href="http://twitter.com/david_bjorklund">Twitter/@david_bjorklund</a></td></tr>
+<tr><th align="left">Julian Gruber</th><td><a href="https://github.com/juliangruber">GitHub/juliangruber</a></td><td><a href="http://twitter.com/juliangruber">Twitter/@juliangruber</a></td></tr>
+<tr><th align="left">Paolo Fragomeni</th><td><a href="https://github.com/hij1nx">GitHub/hij1nx</a></td><td><a href="http://twitter.com/hij1nx">Twitter/@hij1nx</a></td></tr>
+<tr><th align="left">Anton Whalley</th><td><a href="https://github.com/No9">GitHub/No9</a></td><td><a href="https://twitter.com/antonwhalley">Twitter/@antonwhalley</a></td></tr>
+<tr><th align="left">Matteo Collina</th><td><a href="https://github.com/mcollina">GitHub/mcollina</a></td><td><a href="https://twitter.com/matteocollina">Twitter/@matteocollina</a></td></tr>
+<tr><th align="left">Pedro Teixeira</th><td><a href="https://github.com/pgte">GitHub/pgte</a></td><td><a href="https://twitter.com/pgte">Twitter/@pgte</a></td></tr>
+<tr><th align="left">James Halliday</th><td><a href="https://github.com/substack">GitHub/substack</a></td><td><a href="https://twitter.com/substack">Twitter/@substack</a></td></tr>
+</tbody></table>
+
+
+<a name="licence"></a>
+Licence & copyright
+-------------------
+
+Copyright (c) 2012-2013 Level contributors (listed above).
+
+Level 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.
diff --git a/level.js b/level.js
new file mode 100644
index 0000000..9f19090
--- /dev/null
+++ b/level.js
@@ -0,0 +1 @@
+module.exports = require('level-packager')(require('leveldown'))
\ No newline at end of file
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..41fe8c6
--- /dev/null
+++ b/package.json
@@ -0,0 +1,46 @@
+{
+    "name"            : "level"
+  , "description"     : "Fast & simple storage - a Node.js-style LevelDB wrapper (a convenience package bundling LevelUP & LevelDOWN)"
+  , "version"         : "0.18.0"
+  , "contributors"    : [
+        "Rod Vagg <r at va.gg> (https://github.com/rvagg)"
+      , "John Chesley <john at chesl.es> (https://github.com/chesles/)"
+      , "Jake Verbaten <raynos2 at gmail.com> (https://github.com/raynos)"
+      , "Dominic Tarr <dominic.tarr at gmail.com> (https://github.com/dominictarr)"
+      , "Max Ogden <max at maxogden.com> (https://github.com/maxogden)"
+      , "Lars-Magnus Skog <lars.magnus.skog at gmail.com> (https://github.com/ralphtheninja)"
+      , "David Björklund <david.bjorklund at gmail.com> (https://github.com/kesla)"
+      , "Julian Gruber <julian at juliangruber.com> (https://github.com/juliangruber)"
+      , "Paolo Fragomeni <paolo at async.ly> (https://github.com/hij1nx)"
+      , "Anton Whalley <anton.whalley at nearform.com> (https://github.com/No9)"
+      , "Matteo Collina <matteo.collina at gmail.com> (https://github.com/mcollina)"
+      , "Pedro Teixeira <pedro.teixeira at gmail.com> (https://github.com/pgte)"
+      , "James Halliday <mail at substack.net> (https://github.com/substack)"
+    ]
+  , "repository"      : {
+        "type"            : "git"
+      , "url"             : "https://github.com/Level/level.git"
+    }
+  , "homepage"        : "https://github.com/Level/level"
+  , "keywords": [
+        "leveldb"
+      , "stream"
+      , "database"
+      , "db"
+      , "store"
+      , "storage"
+      , "json"
+    ]
+  , "main"            : "level.js"
+  , "dependencies"    : {
+        "leveldown"       : "~0.10.0"
+      , "level-packager"  : "~0.18.0"
+    }
+  , "devDependencies" : {
+        "tape"            : "*"
+    }
+  , "scripts"         : {
+        "test"            : "node ./test.js"
+    }
+  , "license"         : "MIT"
+}
diff --git a/test.js b/test.js
new file mode 100644
index 0000000..d0c0a25
--- /dev/null
+++ b/test.js
@@ -0,0 +1 @@
+require('level-packager/test')(require('tape'), require('./'))
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-level.git



More information about the Pkg-javascript-commits mailing list