---
description: >-
  Hive-db is a persistent modular database to store data with ease, rather than
  complex structures.
---

# Welcome

## Installation

```bash
npm i hive-db
```

This is a universal installation procedure for all operating systems with **NPM** installed.

## Example

Here is an example of what a program looks like with Hive-db:

```javascript
const db = require('hive-db');
db.init('name','Lason');
db.get('name')
// output => Lason

/*
Array Functionality in Hive-db
*/

db.input('name','Tensor')
db.array('name');
// output => Lason, Tensor


```

{% hint style="info" %}
Please go further into the documentation, to get to know about each function correctly!
{% endhint %}

### _Why is Hive better?_

Hive eases better-sqlite3, eliminating the complex structures in the module. Each function Hive-db has, is a translation of better-sqlite3 thus helping to ease the database formula, therefore, helping you as a developer to put more stress on your paradigm.



#### **Throughout the documentation we're going to go through the functions that Hive-db provides you!**



### [_Support_](https://discord.gg/RTh79cwxxp)

If you like to issue a bug, it's recommended joining the support server on discord for real-time help.

### _Sponsors_

#### [**Bytes to Bits**](https://discord.gg/bbPmhMMSyC)

![Bytes To Bits | Coding](https://3724072735-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSmcBruRQ74WSwR5vXp%2F-MSrgG3Mr3b6PshDL3uC%2F-MSrhn_8iYoZDgWrNyse%2FScreen%20Shot%202021-02-06%20at%207.50.26%20PM.png?alt=media\&token=3ae2125e-7b11-4fc6-a2ab-80caf295a015)
