New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@nebula-db/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula-db/json-schema

JSON Schema utilities for NebulaDB

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

@nebula-db/json-schema

JSON Schema utilities for NebulaDB

Part of the NebulaDB project - a high-performance, reactive, TypeScript-first, schema-optional, embeddable NoSQL database.

Installation

npm install @nebula-db/json-schema

Quick Start

import { createDb } from '@nebula-db/json-schema';
import { MemoryAdapter } from '@nebula-db/adapter-memory';

// Create a database with in-memory adapter
const db = createDb({
  adapter: new MemoryAdapter()
});

// Create a collection
const users = db.collection('users');

// Insert a document
await users.insert({ name: 'Alice', age: 30 });

// Query documents
const result = await users.find({ age: { $gt: 20 } });
console.log(result);

Documentation

For full documentation, visit the NebulaDB GitHub repository.

License

MIT

Keywords

json-schema

FAQs

Package last updated on 02 Jul 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