# @nedb/core

> File-based embedded data store for node.js

Latest version **2.1.5** (published 2023-02-11) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install @nedb/core
pnpm add @nedb/core
yarn add @nedb/core
bun add @nedb/core
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.5 |
| Published | 2023-02-11 |
| First published | 2020-11-23 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 167.8 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Louis Chatriot |
| Maintainers | wangshijun |
| Keywords | database, datastore, embedded |

## Links

- npm: https://www.npmjs.com/package/@nedb/core
- Repository: https://github.com/ArcBlock/nedb
- Issues: https://github.com/ArcBlock/nedb/issues
- npm.io page: https://npm.io/package/@nedb/core

## Dependencies (9)

- [async](https://npm.io/package/async.md) ^3.2.4
- [debug](https://npm.io/package/debug.md) ^4.3.4
- [mkdirp](https://npm.io/package/mkdirp.md) ^1.0.4
- [localforage](https://npm.io/package/localforage.md) ^1.10.0
- [node-line-reader](https://npm.io/package/node-line-reader.md) 0.0.3
- [lodash.isplainobject](https://npm.io/package/lodash.isplainobject.md) ^4.0.6
- [serialize-javascript](https://npm.io/package/serialize-javascript.md) ^6.0.0
- [standard-as-callback](https://npm.io/package/standard-as-callback.md) ^2.1.0
- [@nedb/binary-search-tree](https://npm.io/package/@nedb/binary-search-tree.md) 2.1.5

## Recent versions

- 2.1.5 (latest) — 2023-02-11
- 2.1.4 — 2023-02-11
- 2.1.3 — 2023-01-13
- 2.1.2 — 2023-01-02
- 2.1.1 — 2023-01-02
- 2.1.0 — 2023-01-02
- 2.0.7 — 2022-12-31
- 2.0.6 — 2022-12-30
- 2.0.5 — 2022-10-14
- 2.0.4 — 2022-09-08
- 2.0.3 — 2022-09-07
- 2.0.2 — 2022-09-07
- 2.0.1 — 2022-09-06
- 2.0.0 — 2022-09-06
- 1.3.4 — 2022-08-18
- … 9 more at https://npm.io/package/@nedb/core/versions

## README

![nedb](https://www.arcblock.io/.netlify/functions/badge?text=NEDB)

## Table of Contents

- [Table of Contents](#Table-of-Contents)
- [Introduction](#Introduction)
- [Packages](#Packages)
- [License](#License)

## Introduction

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)
[![docs](https://img.shields.io/badge/powered%20by-arcblock-green.svg)](https://docs.arcblock.io)
[![Gitter](https://badges.gitter.im/ArcBlock/community.svg)](https://gitter.im/ArcBlock/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

> Last updated at 2/11/2023, 10:28:50 PM

This repo contains a [NEDB](https://github.com/louischatriot/nedb) fork used by ArcBlock products.

Along with the NEDB core, we have updated several related packages to improve performance, security and compatibility:

- Most dependencies are upgraded to latest to get better security and performance
- Use @nedb/multi to read and write to the same database in different node.js processes
- Use @nedb/mongoose-driver as a drop-in replacement for mongoose + mongodb to make apps lightweight

Limitations: if you want to use nedb in browser, please use the original version.

## Getting Started

Checkout instructions [here](./docs/contribute.md) on how to contribute.

## Packages

- [@nedb/binary-search-tree <img src="https://img.shields.io/npm/v/@nedb/binary-search-tree.svg" alt="Version">](https://www.npmjs.com/package/@nedb/binary-search-tree)
- [@nedb/core <img src="https://img.shields.io/npm/v/@nedb/core.svg" alt="Version">](https://www.npmjs.com/package/@nedb/core)
- [@nedb/mongoose-driver <img src="https://img.shields.io/npm/v/@nedb/mongoose-driver.svg" alt="Version">](https://www.npmjs.com/package/@nedb/mongoose-driver)
- [@nedb/multi <img src="https://img.shields.io/npm/v/@nedb/multi.svg" alt="Version">](https://www.npmjs.com/package/@nedb/multi)
- [@nedb/waterline <img src="https://img.shields.io/npm/v/@nedb/waterline.svg" alt="Version">](https://www.npmjs.com/package/@nedb/waterline)

## Credits

- [NEDB Core](https://github.com/louischatriot/nedb)
- [NEDB Multi](https://github.com/vangelov/nedb-multi)

---
_Source: https://npm.io/package/@nedb/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
