# tiedot

> Tiedot driver for Node.js.

Latest version **0.0.4** (published 2021-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install tiedot
pnpm add tiedot
yarn add tiedot
bun add tiedot
```

## 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 | 2021-08-31 |
| First published | 2021-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Yaşar İçli |
| Maintainers | yasaricli |

## Links

- npm: https://www.npmjs.com/package/tiedot
- Repository: https://github.com/yasaricli/node-tiedot
- Homepage: https://github.com/yasaricli/node-tiedot#readme
- Issues: https://github.com/yasaricli/node-tiedot/issues
- npm.io page: https://npm.io/package/tiedot

## Dependencies (1)

- [node-libcurl](https://npm.io/package/node-libcurl.md) ^2.3.1-0

## Recent versions

- 0.0.4 (latest) — 2021-08-31
- 0.0.3 — 2021-08-31
- 0.0.2 — 2021-08-31
- 0.0.1 — 2021-08-31

## README

# Tiedot

Node.js Tiedot client.

## Installation

To install tiedot, run:

    yarn add tiedot
    
This will download the Tiedot client and add a dependency entry in your **package.json** file.

## Connecting to tiedot

```JS
const Tiedot = require("tiedot");

const client = new Tiedot("http://localhost:5050");
```

## Usage

### Manage collections

```JS

// Create collection
await bucket.create("Users");

// Rename Collection
await bucket.rename("Users", "Contacts");

// Drop collection
await bucket.drop("Users");
```

### Manage documents

```JS

// Insert
await bucket.insert("Users", {
    username: "yasaricli",
});

// Get
await bucket.insert("Users", "id");

// Update
const updateRequest = await bucket.update("Users", "id", {
  username: "osman",
});

// Remove
await bucket.remove("Users", "id");
```

## Docker Run 

To pull and start the Tiedot container, run this docker run command in the terminal or command-line for your operating system.

    docker pull lichti/tiedot
    docker run --name tiedot -d -p 5050:8080 lichti/tiedot
    
![Screen Shot 2021-08-31 at 22 12 27](https://user-images.githubusercontent.com/1306620/131562061-8b6aa0ca-7943-41d3-aab9-66027ac283ee.png)

`Tiedot` is a **document database** engine that uses **JSON** as document notation [HouzuoGuo/tiedot](https://github.com/HouzuoGuo/tiedot)

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