# @sap/node-vsi

> VSI bindings for Node.js

Latest version **1.4.34** (published 2026-06-09) · SAP DEVELOPER LICENSE AGREEMENT license · 0 weekly downloads

## Install

```sh
npm install @sap/node-vsi
pnpm add @sap/node-vsi
yarn add @sap/node-vsi
bun add @sap/node-vsi
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 1.4.34 |
| Published | 2026-06-09 |
| First published | 2020-06-11 |
| Weekly downloads | 0 |
| License | SAP DEVELOPER LICENSE AGREEMENT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | <25.0.0 |
| Dependencies | 0 |
| Unpacked size | 38.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | sap_extncrepos, sap-ospo-admin |
| Keywords | vsi, security, sap |

## Links

- npm: https://www.npmjs.com/package/@sap/node-vsi
- npm.io page: https://npm.io/package/@sap/node-vsi

## Recent versions

- 1.4.34 (latest) — 2026-06-09
- 1.4.33 — 2026-05-15
- 1.4.32 — 2026-04-08
- 1.4.31 — 2026-04-08
- 1.4.30 — 2024-10-28
- 1.4.29 — 2024-09-06
- 1.4.28 — 2024-08-27
- 1.4.27 — 2024-06-03
- 1.4.26 — 2024-01-11
- 1.4.25 — 2023-10-25
- 1.4.24 — 2023-06-01
- 1.4.23 — 2023-01-12
- 1.4.22 — 2022-01-10
- 1.4.21 — 2021-02-04
- 1.4.20 — 2020-10-26
- … 16 more at https://npm.io/package/@sap/node-vsi/versions

## README

@sap/node-vsi
=============

This project contains the VSI binding for node.js. It also includes the native libraries to run on Windows/Linux.
If you need another platforms, please create a SAP support ticket to BC-XS-SEC. The library is supposed to be used 
for on-premise systems, because for cloud scenarios there is another solution.

## Installation
The module has moved to npmjs.org npm registry. Ultimately all SAP modules will be there soon. 

In order to configure the sap-internal registry you need to issue the following command:

```
npm install @sap/node-vsi
```

Afterwards you can add the module "sap-node-vsi" to the dependencies section of your package.json.

# Platforms

Supported platforms: **Windows** | **Linux** | **MacOS**

#### Hello world

This standard example uses the eicar from www.eicar.org which all AV scanners has to find and detect as test virus.

```javascript
var vsi = require('@sap/node-vsi');
var vsiProfile = vsi.vsiProfile;
var v = new vsiProfile("");
v.scanBytes("eicar.txt","X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*", 68);
console.log("\nResult of eicar scan is rc " + v.getLastErrorCode() + " (" + v.getScanErrorName() + ") with error message: \n" + v.getLastError() + "\n" );
```

# Getting started

From your project directory, run (see below for requirements):

```
$ var vsi = require('@sap/node-vsi');
```

---
_Source: https://npm.io/package/@sap/node-vsi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
