@enjoys/store
v1.0.0
Published
A 100% embedded, local-first backend runtime and data structures library built entirely on top of RocksDB.
Maintainers
Readme
@enjoys/store (Embedded Backend Runtime)
Description
@enjoys/store is a 100% embedded, local-first backend runtime and data structures library built entirely on top of RocksDB.
Summary
It provides Redis-like advanced data structures (Hashes, Sets, Lists, Bitmaps, Bloom Filters) and distributed-style concurrency tools (Mutex, Semaphores, Queues, Pub/Sub Brokers) inside a single Node.js process without requiring any external network or server dependencies. All storage and locking logic is executed natively via high-performance, embedded database primitives.
Project Information
- Package Name:
@enjoys/store - Author: Mullayam Singh
- Designer: Mullayam Singh
- Contributors: Mullayam Singh
- Git URL:
https://github.com/enjoys-in/store - License: MIT
- Technology: Node.js, RocksDB, TypeScript
- Tags:
embedded,backend,rocksdb,data structures,redis,local-first,database
Setup
Install the dependencies:
npm installDocker Usage
[!IMPORTANT] If you are using
@enjoys/storeinside a Docker container, you must map a volume for your database directory and ensure the container has read-write (rw) permissions for that volume. Because this library relies on an embedded RocksDB database, it needs persistent and writable disk access to function correctly.
Get started
Build the library:
npm run buildBuild the library in watch mode:
npm run devRun tests:
npm run testRun tests in watch mode:
npm run test:watch