@ibm/mapepire-js
v1.1.0
Published
Db2 client for node
Readme
mapepire-js Db2 for i client
mapepire-js is the pure-JS client (written in TS) for connecting to Db2 for IBM i.
Check out the documentation ⭐️
Transport Modes
mapepire-js supports three transport modes:
- WebSocket Mode (default): Connect to a persistent Mapepire daemon server via WebSockets
- SSH Single Mode: Library-agnostic SSH transport that works with any SSH library via an exec function
- Local Single Mode (IBM i only): Launch mapepire-server as a local child process, with no daemon, SSH or credentials needed
📖 See detailed transport documentation
How to dev/test
- Clone &
npm install - Make a copy of
.env.samplenamed.env- Set the server and port variables to the Mapepire daemon server (either on the server or locally)
- Set the username and password to an IBM i user profile and password
npm run test
