Socket
Book a DemoInstallSign in
Socket

rocksdb-native

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rocksdb-native

librocksdb bindings for JavaScript

latest
Source
npmnpm
Version
3.11.4
Version published
Maintainers
3
Created
Source

rocksdb-native

https://github.com/holepunchto/librocksdb bindings for JavaScript.

npm i rocksdb-native

[!IMPORTANT] On Linux libatomic must be installed as well.

Usage

const RocksDB = require('rocksdb-native')

const db = new RocksDB('./example.db')

const w = db.write()
w.put('hello', 'world')
await w.flush()

const r = db.read()
const p = r.get('hello')
r.flush()

console.log(await p)

License

Apache-2.0

FAQs

Package last updated on 13 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts