This section describes the dependencies for using Node.js with the CData ODBC Driver for AlloyDB.
Configure unixODBC (Linux and Mac Only)
node-odbc uses unixODBC on Linux and Mac, so make sure the driver is configured as described in Using unixODBC before continuing.
You can install node-odbc using NPM.
npm install odbc
Before using node-odbc, you need to require it.
var Database = require("odbc").Database;