# @srbdev/jsdb

> A JavaScript SQL (lite) database that shouldn't be used for production.

Latest version **0.0.4** (published 2015-12-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @srbdev/jsdb
pnpm add @srbdev/jsdb
yarn add @srbdev/jsdb
bun add @srbdev/jsdb
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-12-10 |
| First published | 2015-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | srbdev |
| Maintainers | srbdev |
| Keywords | database, sql, lite |

## Links

- npm: https://www.npmjs.com/package/@srbdev/jsdb
- npm.io page: https://npm.io/package/@srbdev/jsdb

## Dependencies (5)

- [bson](https://npm.io/package/bson.md) ^0.4.19
- [chai](https://npm.io/package/chai.md) ^3.4.1
- [babel](https://npm.io/package/babel.md) ^5.8.23
- [mocha](https://npm.io/package/mocha.md) ^2.3.3
- [moment](https://npm.io/package/moment.md) ^2.10.6

## Alternatives

- [@libsql/sqlite3](https://npm.io/package/@libsql/sqlite3.md) — 39.8K weekly downloads
- [@fortemi/core](https://npm.io/package/@fortemi/core.md) — 461 weekly downloads
- [cdb-converter](https://npm.io/package/cdb-converter.md) — 341 weekly downloads
- [@uplo/adapter-prisma](https://npm.io/package/@uplo/adapter-prisma.md) — 75 weekly downloads
- [typeorm-aios](https://npm.io/package/typeorm-aios.md) — 30 weekly downloads

## Recent versions

- 0.0.4 (latest) — 2015-12-10
- 0.0.3 — 2015-12-10
- 0.0.2 — 2015-12-10
- 0.0.1 — 2015-12-10

## README

# JSDB
JSDB attempts to be a SQL lite database written entirely in JavaScript. This is purely an experiment for my own learning experience but I hope that down the line, JSDB becomes a tool that people could use (in theory).

Currently, JSDB is mainly developed as a command line interface, but I started implementing its Node module counterpart.

# Installation

### Prerequisites
[Node](https://nodejs.org/en/) needs to be installed. **Note that the code base is written in ECMAScript 6 and runs using [Babel](http://babeljs.io/)**. JSDB also uses [Mocha](http://mochajs.org/) for its testing framework and [Chai](http://chaijs.com/) as its assertion library. 

### Install
Follow these steps to install and run JSDB:

    $ git clone https://github.com/srbdev/jsdb.git
    $ cd jsdb
    $ npm install
    $ npm start
    jsdb> 

Follow these steps to install JSDB as a Node module:

    $ npm install @srbdev/jsdb --save

Then add the following snippet at the top of the .js file:

```javascript
const jsdb = require('@srbdev/jsdb')
```

# How It Works

Click here to use JSDB on the [command line](https://github.com/srbdev/jsdb/wiki/Command-Line).

Click here to use JSDB as a [Node module](https://github.com/srbdev/jsdb/wiki/Node-Module).

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