Hungarybajankristof/nedb-promises
A dead-simple promise wrapper for nedb.
🚀 nedb-promises: Wrapper Promise đơn giản cho nedb
Loại bỏ callback, hỗ trợ async/await và tính năng bảo mật được cập nhật.
nedb-promises là một thư viện wrapper Promise giúp sử dụng nedb một cách đơn giản và hiện đại. Từ phiên bản 5.0.0, dự án đã chuyển sang sử dụng fork @seald-io/nedb để khắc phục các lỗ hổng bảo mật.
✨ Điểm nổi bật
- Không callback: Tất cả các phương thức trả về Promise, hỗ trợ async/await.
- Tự động tải database: Không cần gọi
load()thủ công, module tự động phát hiện trạng thái. - Cursor hỗ trợ Promise: Có thể
awaithoặc gọi.then()trực tiếp trên Cursor. - Đổi tên phương thức:
loadDatabase→load,projection→project. - Hỗ trợ sự kiện: Từ v2.0.0, module hỗ trợ các sự kiện như
insert,update,remove. - Tương thích nedb gốc: Giữ nguyên các tính năng và API của nedb.
💡 Vì sao đáng chú ý
nedb-promises giúp bạn sử dụng nedb một cách hiện đại và an toàn hơn. Với việc loại bỏ callback và hỗ trợ Promise, mã nguồn trở nên sạch sẽ và dễ bảo trì. Đặc biệt, việc cập nhật lên @seald-io/nedb giúp khắc phục các lỗ hổng bảo mật, phù hợp cho các dự án cần sử dụng database nhẹ và đơn giản.
#NeDB #PromiseWrapper #JavaScript #Database #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
A simple utility to quickly replace contents in one or more files
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Production-grade engineering skills for AI coding agents.
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Models
Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.