HEAVY.AI Connector

A JavaScript library for connecting to an HEAVY.AI GPU database and running queries.

alt text

Quick Start for Users

Install with npm install @heavyai/connector. Then import @heavyai/connector in your JavaScript program.


Visit our API Docs

There have been some potentially breaking changes in v6:


Open example.html in your browser for a basic query call.

Quick Start for Developers

npm ci
npm run build
npm run docs # opens API docs in your browser.


Everything in connector should be unit-tested and linted. You can find these tests in /test.

The linter and all tests run on

npm test


It’s our eventual goal to fully lint the files in heavyai-con/src. Try to write libraries/heavyai-con using the projects/dashboard-v2 Es6/7 style to make this goal easier to achieve.


Command Description
npm run build Creates /dist folder and runs webpack script
npm run clean Removes node modules, dist, and docs
npm run docs Creates and opens docs
npm run lint Runs lint
npm run test Runs linting and unit tests
npm run test:unit Runs mocha unit tests


Interested in contributing? We’d love for you to help! Check out Contributing.MD