# joseph.db

> SQLite DataBase structure

Latest version **1.0.6** (published 2021-09-05) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install joseph.db
pnpm add joseph.db
yarn add joseph.db
bun add joseph.db
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-09-05 |
| First published | 2021-09-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JosephDev |
| Maintainers | josephdevmn |
| Keywords | db, SQLite, js.db |

## Links

- npm: https://www.npmjs.com/package/joseph.db
- Repository: https://github.com/josephdevmn/joseph.db
- Homepage: https://github.com/josephdevmn/joseph.db#readme
- Issues: https://github.com/josephdevmn/joseph.db/issues
- npm.io page: https://npm.io/package/joseph.db

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.0.6 (latest) — 2021-09-05

## README

# Importing

```js
// ES6 Import
import DataBase from 'joseph.db';
// Node module Import
const Database = require('joseph.db');
```

# Create database

### Usage:
```js
Database(dataName, dataKey, options);
```

### Example:
```js
const myData = Database('settings', 'language', {
  defaultData: 'English', // Default data
  autoCheck: true, // Set the data when there is no data
});
```

# Methods

```js
myData.set(newData); // Setting the data.
myData.get(); // Get the data in the key.
myData.has(); // There are data in the key.
myData.clear(); // Set the data to default data.
myData.delete(); // Delete the data in the key.
```

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