2.0.1 • Published 3 years ago

kyra v2.0.1

Weekly downloads
12
License
Apache-2.0
Repository
-
Last release
3 years ago

Kyra

Kyra is an elegant and intuitive database created to work with zero clutter.

Installation

Remember grabbing Node.js, then run:

$ npm install kyra

Usage

Kyra is so easy that you only need reading this codebox to understand how it works:

const Kyra = require('kyra')

const cluster = new Kyra.Cluster({
    type: 'jql' // both jql and aidengine
})
cluster.connect('kyra://localhost:8080/test/')

const col = new Kyra.Collection('customers')

col.query(`insert one into this ?id1? = Morris`)

let fetch = col.query(`select all from this where ?id1? = Morris`)
console.log(fetch) // output: "Morris"

Created by Aidak (づ ̄ 3 ̄)づ