Socket
Book a DemoInstallSign in
Socket

@based/db

Package Overview
Dependencies
Maintainers
9
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/db

BasedDb is a powerful database solution that supports various data types, references, edges, and operations. It also offers concurrency handling, client-server architecture support, and more.

npmnpm
Version
0.0.30
Version published
Weekly downloads
84
-57.36%
Maintainers
9
Weekly downloads
 
Created
Source

BasedDb

BasedDb is a powerful database solution that supports various data types, references, edges, and operations. It also offers concurrency handling, client-server architecture support, and more.

Features

  • Schema definition and management
  • Data creation, querying, updating, and deletion
  • Support for strings, numbers, booleans, binaries, aliases, enums, and cardinality
  • Edges and references for advanced data modeling
  • Concurrency support for high-load scenarios
  • Client-server design for distributed systems
  • Checksum, analytics, and expiration features

Install

Prerequisites:

  • recent GNU make
  • gcc with recent enough C23 support
  • zig 0.14.0
  • npm & node.js, v20.11.1 or newer
npm i
npm run get-napi // only need this the first time
npm run build

Running tests

Run all tests + ldb + build c, zig and js

npm run test

Run specific test file - does substring matching

npm run test -- range.js

Run specific test file & run specific test

npm run test -- range.js:range

Different flavours of test

Only builds zig

npm run test-zig

Builds nothing only runs tests

npm run test-fast

FAQs

Package last updated on 13 Apr 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