# @maxisthemoose/text-database

> A terrible plain text database wrapper. Why you would use this? I don't know. Please don't.

Latest version **1.0.1** (published 2021-02-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install @maxisthemoose/text-database
pnpm add @maxisthemoose/text-database
yarn add @maxisthemoose/text-database
bun add @maxisthemoose/text-database
```

## 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.1 |
| Published | 2021-02-25 |
| First published | 2021-02-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maxisthemoose |
| Maintainers | maxisthemoose |
| Keywords | db, database, text, txt, plain text |

## Links

- npm: https://www.npmjs.com/package/@maxisthemoose/text-database
- Repository: https://github.com/Maxisthemoose/text-database
- Homepage: https://github.com/Maxisthemoose/text-database#readme
- Issues: https://github.com/Maxisthemoose/text-database/issues
- npm.io page: https://npm.io/package/@maxisthemoose/text-database

## Dependencies (1)

- [colors](https://npm.io/package/colors.md) ^1.4.0

## 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.1 (latest) — 2021-02-25
- 1.0.0 — 2021-02-25

## README

# Installation
```cmd
npm i @maxisthemoose/text-database
```
## Why are you here
No seriously, why? Don't use this as a database, this was made as a joke. It's worse than quick.db.

## If you really want to use this for some reason...
```js
const { TextDatabase } = require("@maxisthemoose/text-database");

const TDB = new TextDatabase({
    databaseName: "main", // The name of the database (file)
    location: "./", // The relative path to where you want to store your database (file)
});

TDB.writeData("key", "value"); // As of now, and probably forever, 
                               // this only supports 4 data types,
                               // string, boolean, number, and Array<string>. 

TDB.getData("key"); // --> "value"
```

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