{"id":28401896,"url":"https://github.com/griddb/node-api","last_synced_at":"2025-06-29T15:04:50.632Z","repository":{"id":45071036,"uuid":"351740970","full_name":"griddb/node-api","owner":"griddb","description":"GridDB Node API","archived":false,"fork":false,"pushed_at":"2023-08-28T11:58:56.000Z","size":361,"stargazers_count":4,"open_issues_count":4,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-01T22:09:58.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/griddb.png","metadata":{"files":{"readme":"README-NPM.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-26T10:17:14.000Z","updated_at":"2023-03-08T13:48:17.000Z","dependencies_parsed_at":"2022-08-29T05:30:50.921Z","dependency_job_id":null,"html_url":"https://github.com/griddb/node-api","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/griddb/node-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griddb%2Fnode-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griddb%2Fnode-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griddb%2Fnode-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griddb%2Fnode-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griddb","download_url":"https://codeload.github.com/griddb/node-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griddb%2Fnode-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262614456,"owners_count":23337277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-01T14:06:30.274Z","updated_at":"2025-06-29T15:04:50.623Z","avatar_url":"https://github.com/griddb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"GridDB Node API\n\n## Overview\n\n[GridDB](https://github.com/griddb/griddb) is Database for IoT with both NoSQL interface and SQL Interface.\n\nGridDB Node API is developed using GridDB C Client and [node-addon-api](https://github.com/nodejs/node-addon-api).  \n\n## Operating environment\n\nBuilding of the library and execution of the sample programs have been checked in the following environment.\n\n    OS: CentoS7.9(x64), Ubuntu 18.04(x64), Ubuntu 20.04(x64)\n    Node.js: v16\n    gcc/g++: \u003e= 7\n    GridDB C client: V5.0.0 CE\n    GridDB server: V5.0.0 CE, CentOS 7.9(x64)\n\n## Preparations\n\n* Install [GridDB Server](https://github.com/griddb/griddb)\n* Install [C Client](https://github.com/griddb/c_client).\n    * (Ubuntu)\n        ```console\n            $ wget https://github.com/griddb/c_client/releases/download/v5.0.0/griddb-c-client_5.0.0_amd64.deb\n            $ sudo dpkg -i griddb-c-client_5.0.0_amd64.deb\n        ```\n    * (CentOS)\n        ```console\n            $ wget https://github.com/griddb/c_client/releases/download/v5.0.0/griddb-c-client-5.0.0-linux.x86_64.rpm\n            $ sudo rpm -ivh griddb-c-client-5.0.0-linux.x86_64.rpm\n        ```\n## QuickStart\n\n### Install\n\n    $ npm install griddb-node-api\n\n### How to run sample\n\nGridDB Server need to be started in advance.\n\n    1. The command to run sample\n        $ cp node_modules/griddb-node-api/sample/sample1.js .\n        $ node sample1.js \u003cGridDB notification address\u003e \u003cGridDB notification port\u003e\n            \u003cGridDB cluster name\u003e \u003cGridDB user\u003e \u003cGridDB password\u003e\n          --\u003e[ 'name01', false, 1, \u003cBuffer 41 42 43 44 45 46 47 48 49 4a\u003e ]\n\n### Install gcc/g++:\n1. CentOS 7(x64)\n    ```console\n    # Install gcc/g++ 7 on centos 7.9\n    $ sudo yum install centos-release-scl\n    $ sudo yum install devtoolset-7-gcc-c++\n\n    # enable gcc/g++7 on centos 7.9\n    $ scl enable devtoolset-7 bash\n    ```\n2. Ubuntu 18.04/20.04(x64)\n    ```\n    $ sudo apt-get install gcc g++\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriddb%2Fnode-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriddb%2Fnode-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriddb%2Fnode-api/lists"}