griddb_node

0.8.4 • Public • Published

GridDB Node.JS Client

Overview

GridDB (https://github.com/griddb/griddb_nosql) is a highly scalable NoSQL database best suited for IoT and Big Data. This is Node.JS Client Library for GridDB.

Operating environment

Execution of the sample programs have been checked in the following environment.

OS:              CentOS 7.6(x64)
Node.js:         v10
GridDB Server and C Client:   4.1 CE

QuickStart

Preparations

Install Node.js(v10) and GridDB C Client (https://github.com/griddb/c_client) .

Install

$ npm install griddb_node

How to run sample

GridDB Server need to be started in advance.

1. Set LD_LIBRARY_PATH

    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<C client library file directory path>

2. The command to run sample

    $ cp node_modules/griddb_node/sample/sample1.js .
    $ node sample1.js <GridDB notification address> <GridDB notification port>
        <GridDB cluster name> <GridDB user> <GridDB password>
      -->[ 'name01', false, 1, <Buffer 41 42 43 44 45 46 47 48 49 4a> ]

License

GridDB Node.JS Client source license is Apache License, version 2.0.

Dependents (0)

Package Sidebar

Install

npm i griddb_node

Weekly Downloads

3

Version

0.8.4

License

Apache-2.0

Unpacked Size

2.1 MB

Total Files

8

Last publish

Collaborators

  • knonomura