{"ref":"artifact:sap-hana-client","page":"/artifacts/sap-hana-client","json":"/artifacts/sap-hana-client.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"sap-hana-client","name":"@sap/hana-client","artifact_type":"package","ecosystem":"btp","serves_ecosystems":["cap"],"domain":"data-and-persistence","origin_ring":"sap-official","description":{"one_line":"SAP's own Node.js driver for SAP HANA: connect, run SQL and prepared statements, synchronously, through callbacks or as promises, over native client libraries npm installs per platform.","short":"SAP's Node.js driver for SAP HANA","what_it_solves":"Reaching SAP HANA from Node.js with no framework database layer in between: a connection is opened with `connect`, statements run with `exec`, and `prepare` returns a statement executed with parameters, the same calls available synchronously, through callbacks, or as promises through the package's own `extension/Promise.js` module. Connection details are passed to the call or taken from a key in the hdbuserstore, so a host, port and password need not sit in the source. The driver is not JavaScript alone: it contains native libraries, npm downloads the ones for every available platform on install, the Node.js driver shipped with the SAP HANA client is 64-bit only, and that client install carries the same driver for a machine that already has it. In a CAP project it is not what runs unless it is asked for, since [@cap-js/hana](artifact:cap-js-hana) uses `hdb` by default and adding this package to the dependencies takes precedence over that."},"links":{"npm":"https://www.npmjs.com/package/@sap/hana-client"},"identity":{"license":"SAP Developer License Agreement 3.1"},"compat":{"runtimes":["node"]},"source_available":false,"provides":[{"capability":"capability:database-connectors","what_it_does":"Connects a Node.js program to SAP HANA and runs SQL and prepared statements against it over the native client libraries, synchronously or asynchronously; under [@cap-js/hana](artifact:cap-js-hana) it takes over from `hdb` as the driver once it is installed.","sources":[{"url":"https://github.com/sap-tutorials/Tutorials/blob/master/tutorials/hana-clients-node/hana-clients-node.md","title":"Connect Using the SAP HANA Node.js Interface — SAP Tutorials","checked":"2026-09-18","quote":"Create and debug a Node.js application that connects to SAP HANA using the SAP HANA client."},{"url":"https://github.com/sap-tutorials/Tutorials/blob/master/tutorials/hana-clients-node/hana-clients-node.md","title":"Connect Using the SAP HANA Node.js Interface — SAP Tutorials, Install from NPM","checked":"2026-09-18","quote":"The `hana-client` driver contains native libraries as shown below. When installed using NPM, the native libraries for all available platforms are downloaded."},{"url":"https://cap.cloud.sap/docs/guides/databases/hana","title":"Using SAP HANA Cloud for Production — capire","checked":"2026-09-18","quote":"You can override that by running `npm add @sap/hana-client`, thereby adding it to your package dependencies, which then takes precedence over the default driver."}]}],"maintainers":["actor:sap"],"provenance":{"discovered_via":[{"source":"source:npm","channel":"npm:scope:@sap"},{"source":"source:discover"}],"first_seen":"2026-09-08"},"drafted_with_ai":true},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"good","evidence":"1 month since release"},{"label":"Continuity","tier":"fair","evidence":"2 publishers on npm"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"unknown","evidence":"no BTP release lines in the atlas"},{"label":"Survived majors","tier":"unknown","evidence":"no BTP release lines in the atlas"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"unknown","evidence":"not crawled"},{"label":"Changelog","tier":"unknown","evidence":"not crawled"}],"reach":[{"value":151618,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-26","latest_version":"2.30.27","majors":{"2":{"version":"2.4.171","date":"2020-01-05"}},"license":"SEE LICENSE IN developer-license-3_2.txt","first_release":"2020-01-05","last_release":"2026-09-18","releases":109,"cadence_days":19,"maintainers":2,"repository":null,"repository_directory":null,"peer_cds":null,"test_script":false,"types":true,"downloads_weekly":151618,"npm_documents_unavailable":"npm tarball exceeds 32 MB document crawl limit","months_since_release":1,"dormant":false,"dependencies":1,"node_engine":">=4.0.0","downloads_monthly":1149358},"release_notes":{"license":"SEE LICENSE IN developer-license-3_2.txt","quotable":false,"versions":[{"version":"2.30.27","date":"2026-09-18"},{"version":"2.30.24","date":"2026-09-15"},{"version":"2.29.27","date":"2026-08-27"},{"version":"2.29.25","date":"2026-07-09"},{"version":"2.29.23","date":"2026-06-16"},{"version":"2.28.22","date":"2026-06-15"},{"version":"2.28.21","date":"2026-05-29"},{"version":"2.28.20","date":"2026-04-21"},{"version":"2.28.19","date":"2026-03-27"},{"version":"2.28.17","date":"2026-03-17"},{"version":"2.27.24","date":"2026-03-06"},{"version":"2.27.23","date":"2026-01-23"},{"version":"2.27.19","date":"2025-12-16"},{"version":"2.26.26","date":"2025-11-24"},{"version":"2.26.25","date":"2025-10-31"},{"version":"2.26.18","date":"2025-09-16"},{"version":"2.25.31","date":"2025-08-18"},{"version":"2.25.29","date":"2025-07-11"},{"version":"2.25.22","date":"2025-06-17"},{"version":"2.24.26","date":"2025-05-23"},{"version":"2.24.24","date":"2025-04-03"},{"version":"2.24.21","date":"2025-03-18"},{"version":"2.23.27","date":"2025-02-03"},{"version":"2.23.26","date":"2025-01-24"},{"version":"2.23.24","date":"2024-12-10"},{"version":"2.22.32","date":"2024-10-24"},{"version":"2.22.29","date":"2024-10-08"},{"version":"2.22.27","date":"2024-09-17"},{"version":"2.21.31","date":"2024-08-30"},{"version":"2.21.28","date":"2024-07-03"},{"version":"2.21.26","date":"2024-06-19"},{"version":"2.20.23","date":"2024-05-30"},{"version":"2.20.22","date":"2024-05-15"},{"version":"2.20.20","date":"2024-04-11"},{"version":"2.20.15","date":"2024-03-19"},{"version":"2.19.21","date":"2024-01-03"},{"version":"2.19.20","date":"2023-12-13"},{"version":"2.19.18","date":"2023-12-06"},{"version":"2.18.27","date":"2023-11-16"},{"version":"2.18.24","date":"2023-10-05"},{"version":"2.18.22","date":"2023-09-08"},{"version":"2.17.22","date":"2023-07-24"},{"version":"2.17.21","date":"2023-07-07"},{"version":"2.17.14","date":"2023-06-15"},{"version":"2.16.26","date":"2023-04-28"},{"version":"2.16.21","date":"2023-03-17"},{"version":"2.15.22","date":"2023-02-21"},{"version":"2.15.19","date":"2023-01-05"},{"version":"2.15.17","date":"2022-12-15"},{"version":"2.14.24","date":"2022-12-06"},{"version":"2.14.23","date":"2022-11-15"},{"version":"2.14.22","date":"2022-10-18"},{"version":"2.14.18","date":"2022-09-21"},{"version":"2.13.22","date":"2022-07-15"},{"version":"2.13.21","date":"2022-07-05"},{"version":"2.13.13","date":"2022-06-17"},{"version":"2.12.25","date":"2022-05-12"},{"version":"2.12.22","date":"2022-04-20"},{"version":"2.12.20","date":"2022-03-24"},{"version":"2.12.13","date":"2022-03-18"},{"version":"2.11.20","date":"2022-02-17"},{"version":"2.11.14","date":"2021-12-09"},{"version":"2.10.20","date":"2021-11-16"},{"version":"2.10.15","date":"2021-10-15"},{"version":"2.10.13","date":"2021-09-23"},{"version":"2.10.9","date":"2021-09-17"},{"version":"2.9.28","date":"2021-08-04"},{"version":"2.9.23","date":"2021-07-09"},{"version":"2.9.19","date":"2021-07-09"},{"version":"2.8.22","date":"2021-06-07"},{"version":"2.8.20","date":"2021-05-05"},{"version":"2.8.16","date":"2021-04-20"},{"version":"2.7.26","date":"2021-03-15"},{"version":"2.7.23","date":"2021-02-18"},{"version":"2.7.21","date":"2021-01-27"},{"version":"2.7.16","date":"2020-12-17"},{"version":"2.6.64","date":"2020-12-09"},{"version":"2.6.61","date":"2020-11-05"},{"version":"2.6.58","date":"2020-10-20"},{"version":"2.6.54","date":"2020-10-01"},{"version":"2.5.111","date":"2020-09-30"},{"version":"2.5.109","date":"2020-09-03"},{"version":"2.5.105","date":"2020-08-10"},{"version":"2.5.104","date":"2020-07-30"},{"version":"2.5.101","date":"2020-07-10"},{"version":"2.5.86","date":"2020-06-26"},{"version":"2.4.202","date":"2020-06-17"},{"version":"2.4.196","date":"2020-06-10"},{"version":"2.4.167","date":"2020-06-10"},{"version":"2.4.162","date":"2020-06-10"},{"version":"2.4.155","date":"2020-06-10"},{"version":"2.4.151","date":"2020-06-10"},{"version":"2.4.144","date":"2020-06-10"},{"version":"2.4.142","date":"2020-06-10"},{"version":"2.4.139","date":"2020-06-10"},{"version":"2.4.126","date":"2020-06-10"},{"version":"2.3.144","date":"2020-06-10"},{"version":"2.3.134","date":"2020-06-10"},{"version":"2.3.130","date":"2020-06-10"},{"version":"2.3.123","date":"2020-06-10"},{"version":"2.3.119","date":"2020-06-10"},{"version":"2.3.112","date":"2020-06-10"},{"version":"2.3.106","date":"2020-06-10"},{"version":"2.3.21","date":"2020-06-10"},{"version":"2.4.194","date":"2020-04-21"},{"version":"2.4.191","date":"2020-04-01"},{"version":"2.4.182","date":"2020-03-05"},{"version":"2.4.177","date":"2020-01-14"},{"version":"2.4.171","date":"2020-01-05"}],"crawled_at":"2026-10-25"},"edges":{"maintainers":[{"ref":"actor:sap","name":"SAP","json":"/actors/sap.json"}],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[{"ref":"artifact:cap-js-hana","name":"@cap-js/hana","json":"/artifacts/cap-js-hana.json","requirement":"conditional","condition":"@sap/hana-client is added to the project's dependencies, which then takes precedence over the default driver."},{"ref":"artifact:grknylmz-sap-ai-dev-toolkit","name":"sap-ai-dev-toolkit","json":"/artifacts/grknylmz-sap-ai-dev-toolkit.json","requirement":"conditional","role":"database-driver","condition":"the hana-cloud-inspector companion connects to a bound HANA Cloud HDI schema"}],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}