Node.js binding to the GT.M hierarchical (MUMPS) database. The current version is 0.1.0-56-g1b5486c (pre-release from git). The package wraps the GT.M C API to allow Node.js to read and write to GT.M global nodes. It uses GNP (GT.M Network Protocol) or direct call-in. Key differentiator: it is the only Node.js binding for GT.M with native bindings, but it is experimental and uses a pre-1.0 version. It requires GT.M to be installed and configured.
npm install gtmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to a GT.M instance, sets and retrieves a global node, then closes the connection.
Install GT.M (e.g., gtm, gt.m-devel) and node-gyp. Ensure GTM_DIST environment variable is set.
Use exact version from git tag or local copy if registry version is outdated.
Make sure GT.M is running with proper GNP configuration (port, namespace).
Use Node.js <=0.12; or fork and update nan/binding to modern N-API.
Ensure global names start with ^ and subscripts are comma-separated in the string.
Recompile the addon: npm rebuild gtm or use node-gyp rebuild.
Install node-gyp and required build tools, then run: node-gyp configure build within the module directory.
Install the package: npm install gtm and use const gtm = require('gtm');Start GT.M with GNP listener: gtm_gnp_server -PORT=1234 -SERVICE=^DEFAULT