npm.io
2.0.1 • Published 5 years ago

kyra

Licence
Apache-2.0
Version
2.0.1
Deps
3
Size
3 kB
Vulns
1
Weekly
0

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 ̄)づ

Keywords