# locloud

> A NodeJS CLI to generate a Non-Relational Database blank project with helper functions to Create, Read, Update, Delete and more

Latest version **1.0.6** (published 2020-02-06) · ISC license · 0 weekly downloads

## Install

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

Provides the command `locloud`.

## 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 | 2020-02-06 |
| First published | 2020-02-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Matheus Loures/Coloringa |
| Maintainers | colorman |
| Keywords | local, cloud, non relational database, nosql, node, javascript, json, table, item |

## Links

- npm: https://www.npmjs.com/package/locloud
- npm.io page: https://npm.io/package/locloud

## Dependencies (1)

- [colorxjs](https://npm.io/package/colorxjs.md) ^1.3.7

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.6 (latest) — 2020-02-06
- 1.0.5 — 2020-02-06
- 1.0.4 — 2020-02-06
- 1.0.3 — 2020-02-06
- 1.0.2 — 2020-02-06
- 1.0.1 — 2020-02-06
- 1.0.0 — 2020-02-06

## README

# locloud

> Locally generate a Non Relational Database and initialize it with helper functions to Create, Read, Update, Delete and much more.

## Installation

```shell
$ npm install -g locloud
```

## Usage

- Hit the command line on your project's folder
- Write `locloud` and enter

## Starter

- A `locloud-starter.js` file will be generated after initializing `locloud` on the shell.

```
    const locloud = require('./locloud')
    const colorxjs = require('colorxjs')

    locloud.getTable('db').then(obj=>{
        console.log(obj)
    
    })
```

## Documentation

### create(tableName) <Promise>
- Creates a new db on your folder 

### genOrUpdate(key, what, tableName) <Promise>
- Creates or Updates a key 

### readOn(key) <Promise>
- Promise reading a key

### deleteThis(key, tableName) <Promise>
- Delete the key

### zeroOn(key, tableName) <Promise>
- Zero a number on a key

### emptyOn(key, tableName) <Promise>
- Empty a String on a key

### toggleBoolOn(key, tableName) <Promise>
- Toggle boolean on a key

### plus(amount, key, tableName) <Promise>
- Add to a number value on a key

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