1.0.4 • Published 2 years ago

yugabyte v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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);
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago