@farcaster/rocksdb
v5.5.0
Published
A low-level Node.js RocksDB binding
Downloads
200
Readme
rocksdb
This fork's sole purpose is to add prebuilds for Linux ARM to reduce install time on ARM-based systems.
Add to your project using:
yarn add @farcaster/rocksdb
import AbstractRocksDB from '@farcaster/rocksdb';
Git Submodules
This project uses Git Submodules. This means that you should clone it recursively if you're planning on working on it:
$ git clone --recurse-submodules https://github.com/Level/rocksdb.git
Alternatively, you can initialize submodules after cloning:
$ git submodule update --progress --init --recursive
Publishing
- Increment the version:
npm version ..
- Push to GitHub:
git push --follow-tags
- Wait for CI to complete
- Download prebuilds into
./prebuilds
:npm run download-prebuilds
- Optionally verify loading a prebuild:
npm run test-prebuild
- Optionally verify which files npm will include:
canadian-pub
- Finally:
npm publish
License
rocksdb
builds on the excellent work of the LevelDB and Snappy teams from Google and additional contributors to the LevelDB fork by Facebook. LevelDB and Snappy are both issued under the New BSD License. A large portion of rocksdb
Windows support comes from the Windows LevelDB port (archived) by Krzysztof Kowalczyk (@kjk
). If you're using rocksdb
on Windows, you should give him your thanks!