1.0.4 • Published 4 months ago

cursusdb-node v1.0.4

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
4 months ago

CursusDB Node.JS Native Client Package

cursusdb-node is the official CursusDB Native Client package for Node.JS

https://cursusdb.com

npm

https://www.npmjs.com/package/cursusdb-node

How to use

The Client class takes a cluster fqdn or ip, port, db user username, db user password, and whether you want TLS true or false(cluster must have tls enabled).

import Client from 'cursusdb-node'

(async function() {
    const client = new Client("0.0.0.0", "7681", "username", "password", false)

    client.Connect().then((res) => {
        console.log(res)

            client.Query(`ping;`).then((res) => {
                console.log(res)
                client.Close()
            })
    }).catch((err) => {
        console.error(err)
    })
})()
1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago

0.1.1

5 months ago

0.1.0

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.5

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.4

5 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago