Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

level

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level - npm Package Compare versions

Comparing version 2.1.2 to 3.0.0

CHANGELOG.md

4

package.json
{
"name": "level",
"description": "Fast & simple storage - a Node.js-style LevelDB wrapper (a convenience package bundling LevelUP & LevelDOWN)",
"version": "2.1.2",
"version": "3.0.0",
"contributors": [

@@ -37,3 +37,3 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)",

"level-packager": "^2.0.2",
"leveldown": "^2.1.1",
"leveldown": "^3.0.0",
"opencollective": "^1.0.3"

@@ -40,0 +40,0 @@ },

@@ -6,3 +6,5 @@ # level

[![level badge][level-badge]](https://github.com/level/awesome)
[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg)](#sponsors) [![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level)
[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg)](#sponsors)
[![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level)
![Node version](https://img.shields.io/node/v/level.svg)

@@ -22,2 +24,18 @@ [![Build Status](https://secure.travis-ci.org/Level/level.svg)](http://travis-ci.org/Level/level)

**Note** that `level` only supports Node.js. There is ongoing work to make it work in both Node.js and in the browser. In the meantime, we suggest you to use [`level-browserify`](https://github.com/level/level-browserify).
**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md).
* [Usage](#usage)
* [API](#api)
* [Promise Support](#promise-support)
* [Events](#events)
* [Contributing](#contributing)
* [Contributors](#contributors)
* [Backers](#backers)
* [Sponsors](#sponsors)
* [License](#license)
## Usage
```js

@@ -44,18 +62,17 @@ var level = require('level')

<a name="api"></a>
## API
* <a href="#ctor"><code><b>level()</b></code></a>
* <a href="#open"><code>db.<b>open()</b></code></a>
* <a href="#close"><code>db.<b>close()</b></code></a>
* <a href="#put"><code>db.<b>put()</b></code></a>
* <a href="#get"><code>db.<b>get()</b></code></a>
* <a href="#del"><code>db.<b>del()</b></code></a>
* <a href="#batch"><code>db.<b>batch()</b></code> *(array form)*</a>
* <a href="#batch_chained"><code>db.<b>batch()</b></code> *(chained form)*</a>
* <a href="#isOpen"><code>db.<b>isOpen()</b></code></a>
* <a href="#isClosed"><code>db.<b>isClosed()</b></code></a>
* <a href="#createReadStream"><code>db.<b>createReadStream()</b></code></a>
* <a href="#createKeyStream"><code>db.<b>createKeyStream()</b></code></a>
* <a href="#createValueStream"><code>db.<b>createValueStream()</b></code></a>
* [<code><b>level()</b></code>](#ctor)
* [<code>db.<b>open()</b></code>](#open)
* [<code>db.<b>close()</b></code>](#close)
* [<code>db.<b>put()</b></code>](#put)
* [<code>db.<b>get()</b></code>](#get)
* [<code>db.<b>del()</b></code>](#del)
* [<code>db.<b>batch()</b></code> *(array form)*](#batch)
* [<code>db.<b>batch()</b></code> *(chained form)*](#batch_chained)
* [<code>db.<b>isOpen()</b></code>](#isOpen)
* [<code>db.<b>iClosed()</b></code>](#isClosed)
* [<code>db.<b>createReadStream()</b></code>](#createReadStream)
* [<code>db.<b>createKeyStream()</b></code>](#createKeyStream)
* [<code>db.<b>createValueStream()</b></code>](#createValueStream)

@@ -338,3 +355,2 @@ See [`levelup`][levelup] and [`leveldown`][leveldown] for more details.

<a name="promises"></a>
## Promise Support

@@ -376,3 +392,2 @@

<a name="events"></a>
## Events

@@ -401,3 +416,2 @@

<a name="contributing"></a>
## Contributing

@@ -438,6 +452,4 @@

## License
<a name="license"></a>
## License &amp; Copyright
Copyright (c) 2012-2018 `level` [contributors](https://github.com/level/community#contributors).

@@ -444,0 +456,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc