1.0.6 • Published 4 years ago

locloud v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

locloud

Locally generate a Non Relational Database and initialize it with helper functions to Create, Read, Update, Delete and much more.

Installation

$ 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)

  • Creates a new db on your folder

genOrUpdate(key, what, tableName)

  • Creates or Updates a key

readOn(key)

  • Promise reading a key

deleteThis(key, tableName)

  • Delete the key

zeroOn(key, tableName)

  • Zero a number on a key

emptyOn(key, tableName)

  • Empty a String on a key

toggleBoolOn(key, tableName)

  • Toggle boolean on a key

plus(amount, key, tableName)

  • Add to a number value on a key
1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago