yugabyte

    1.0.4 • Public • Published

    yugabyte

    Yugabyte's YSQL and YCQL drivers for postgres and cassandra in one single package

    Installation

    Install the package in your nodeJS project:

    npm install -S yugabyte
    

    Usage

    You can use either the YSQL or YCQL driver.

    Refer to the ./examples to see basic usage of the drivers.

    YSQL

    Require the driver, set the configuration, create the client:

    const YSQL = require('yugabyte').YSQL;
    const config = {};
    const ysqlClient = YSQL.getPostgresClient(config);
    

    YCQL

    Require the driver, set the options, create the client:

    const YCQL = require('yugabyte').YCQL;
    const options = {};
    const ycqlClient = YCQL.getCassandraClient(options);
    

    Install

    npm i yugabyte

    DownloadsWeekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    8.51 kB

    Total Files

    11

    Last publish

    Collaborators

    • nijova