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

ljdb

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ljdb

A simple local JSON-based database that loads data into RAM for fast access.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Local JSON Database (LJDB)

Local JSON Database (LJDB) is a simple JSON-based database that loads data into RAM for fast access.

Installation

npm install ljdb

Usage

const LJDB = require("ljdb");

// Create or open a database
const db = new LJDB("mydatabase");

// Read data from file
console.log(db.read());

// Modify data in RAM
db.data.users = [{ name: "Ali", age: 25 }];

// Save changes to file
db.save();

// Delete the database file
LJDB.deleteDB("mydatabase");

Features

  • Stores data in a JSON file
  • Loads data into RAM for fast access
  • Simple and easy to use
  • Supports reading, modifying, and deleting data

License

MIT

Keywords

json

FAQs

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