RepositoryJavaScriptHUHungary
BA

bajankristof/nedb-promises

A dead-simple promise wrapper for nedb.

299sao
44fork
0issue
4lượt xem

🚀 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ể await hoặ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.

RepositoryTypeScript
adamreisnz/replace-in-file

A simple utility to quickly replace contents in one or more files

617
Oct 10, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

124.6k
Nov 26, 2026
RepositoryJavaScript
addyosmani/agent-skills

Production-grade engineering skills for AI coding agents.

122.0k
Nov 24, 2026
RepositoryJavaScript
trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

196.8k
Jul 26, 2026
Repository
x1xhlol/system-prompts-and-models-of-ai-tools

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

145.0k
Oct 12, 2026
RepositoryPython
Panniantong/Agent-Reach

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

116.7k
Nov 24, 2026
RepositoryGo
netdata/netdata

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

81.7k
Nov 30, 2026
RepositoryC
redis/redis

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.

77.9k
Dec 1, 2026
RepositoryRust
meilisearch/meilisearch

A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

60.1k
Dec 1, 2026