Skip to content

Commit c40fa01

Browse files
committed
Updating app files
1 parent 8615598 commit c40fa01

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

README.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +0,0 @@
1-
# [@brtmvdl/database](https://www.npmjs.com/package/@brtmvdl/database)
2-
3-
Easy Database Node.js library
4-
5-
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/brtmvdl/database/npm-publish.yml?label=GitHub%20Actions&link=https%3A%2F%2Fgithub.com%2Fbrtmvdl%2Fdatabase%2Factions%2Fworkflows%2Fnpm-publish.yml)](https://github.com/brtmvdl/database/actions/workflows/npm-publish.yml) [![npm](https://img.shields.io/npm/dw/%40brtmvdl/database?label=NPM%20Weekly%20Downloads)](https://www.npmjs.com/package/@brtmvdl/database) [![github/stars](https://img.shields.io/github/stars/brtmvdl/database?style=social)](https://img.shields.io/github/stars/brtmvdl/database?style=social)
6-
7-
## social & donate
8-
9-
[Donate](https://link.mercadopago.com.br/brtmvdl) - [Telegram](https://t.me/+KRmg5MlqgMk0MTg5) - [Discord](https://discord.gg/2zWpWBgmPj)
10-
11-
## how to install
12-
13-
```bash
14-
# bash
15-
16-
npm i @brtmvdl/database
17-
```
18-
19-
## how to use
20-
21-
```js
22-
// index.mjs
23-
24-
import { Database } from '@brtmvdl/database'
25-
26-
const db = new Database({ type: 'fs', config: '/data' })
27-
28-
const users = db.in('users')
29-
30-
const user = users.new()
31-
32-
user.writeMany({ email: 'mail@mail.com', password: 'password' })
33-
34-
console.log('user', user.readManyString(['email', 'password']))
35-
```
36-
37-
```sh
38-
# bash
39-
40-
node index.mjs
41-
```
42-
43-
## author
44-
45-
[@brtmvdl](https://www.linkedin.com/in/brtmvdl/)
46-
47-
## license
48-
49-
[MIT](./LICENSE)

0 commit comments

Comments
 (0)