0.2.0 • Published 4 months ago

skytable-node v0.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

skytable-node: Skytable driver for NodeJS

Getting started

yarn add skytable-node

Example

const { Config, Query } = require('skytable-node');
const cfg = new Config("root", "password");

async function main() {
    let db;
    try {
        db = await cfg.connect();
        console.log(await db.query(new Query("sysctl report status")));
    } catch (e) {
        console.error(e);
        process.exit(1);
    } finally {
        if (db) {
            await db.disconnect();
        }
    }
}

main()

License

This driver is distributed under the Apache-2.0 License.

0.2.0

4 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago

0.0.1

5 months ago