1.4.30 • Published 2 months ago

@sap/node-vsi v1.4.30

Weekly downloads
3,780
License
SAP DEVELOPER LIC...
Repository
-
Last release
2 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.30

2 months ago

1.4.29

4 months ago

1.4.28

4 months ago

1.4.27

7 months ago

1.4.26

12 months ago

1.4.25

1 year ago

1.4.24

2 years ago

1.4.23

2 years ago

1.4.22

3 years ago

1.4.21

4 years ago

1.4.20

4 years ago

1.4.19

5 years ago

1.1.0

5 years ago

1.3.0

5 years ago

1.4.8

5 years ago

1.4.12

5 years ago

1.4.15

5 years ago

1.4.18

5 years ago

1.4.6

5 years ago

1.4.16

5 years ago

1.4.11

5 years ago

1.4.7

5 years ago

1.4.5

5 years ago

1.4.17

5 years ago

1.2.0

5 years ago

1.4.0

5 years ago

1.4.10

5 years ago