Skip to content

byteakp/lazyydb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazyydb

A lightweight, zero-setup JSON database with SQL-like queries, perfect for rapid development. LazyDB mimics SQLite’s functionality but works directly with JSON files or in-memory, requiring no installation.

Features

  • File-Based or In-Memory Storage: Use database.json or run in-memory.
  • SQL-like Queries: db.select('users').where('age', '>', 20).join('orders', 'id', 'userId').
  • Advanced Features: Joins, aggregations (count, sum, avg, min, max), full-text search.
  • Indexing: B-tree for speed, inverted index for text search.
  • Zero-Config: new LazyDB() for in-memory mode.
  • Event-Driven: React to inserts, updates, and deletes.
  • CLI: npx lazydb "SELECT * FROM users WHERE age > 20".
  • REST API: Integrate with Express.js.
  • Cross-Platform: Works in Node.js, browsers, and Deno.

Installation

npm install lazyydb

About

Introducing LazyDB, a lightweight, zero-setup JSON database with SQL-like queries, designed for rapid development. 🚀

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors