1.4.26 • Published 4 months ago

@sap/node-vsi v1.4.26

Weekly downloads
3,780
License
SAP DEVELOPER LIC...
Repository
-
Last release
4 months ago

@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.

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');
1.4.26

4 months ago

1.4.25

6 months ago

1.4.24

11 months ago

1.4.23

1 year ago

1.4.22

2 years ago

1.4.21

3 years ago

1.4.20

4 years ago

1.4.19

4 years ago

1.1.0

4 years ago

1.3.0

4 years ago

1.4.8

4 years ago

1.4.12

4 years ago

1.4.15

4 years ago

1.4.18

4 years ago

1.4.6

4 years ago

1.4.16

4 years ago

1.4.11

4 years ago

1.4.7

4 years ago

1.4.5

4 years ago

1.4.17

4 years ago

1.2.0

4 years ago

1.4.0

4 years ago

1.4.10

4 years ago