level-write-stream

WebJar for level-write-stream

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

level-write-stream
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

level-write-stream
WebJar for level-write-stream
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Raynos/level-write-stream

Download level-write-stream

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/level-write-stream/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>level-write-stream</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/level-write-stream/
implementation 'org.webjars.npm:level-write-stream:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/level-write-stream/
implementation ("org.webjars.npm:level-write-stream:1.0.0")
'org.webjars.npm:level-write-stream:jar:1.0.0'
<dependency org="org.webjars.npm" name="level-write-stream" rev="1.0.0">
  <artifact name="level-write-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='level-write-stream', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "level-write-stream" % "1.0.0"
[org.webjars.npm/level-write-stream "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : end-stream jar [0.1.0,0.2)

Project Modules

There are no modules declared in this project.

level-write-stream

A writeStream implementation for leveldb

Example

This implements the writeStream logic for a levelup interface.

Just pass it a db with put and batch method and it will do the rest!

var LevelWriteStream = require("level-write-stream")

var db = someleveldb()

var writeStream = LevelWriteStream(db)

var stream = writeStream(options)

stream.write({
    key: key
    , value: value
})

Installation

npm install level-write-stream

Contributors

  • Raynos

MIT Licenced

Versions

Version
1.0.0