3.8.2 • Published 3 months ago

ingescape v3.8.2

Weekly downloads
-
License
MPLV2
Repository
github
Last release
3 months ago

Ingescape NodeJS

Ingescape NodeJS embeds the Ingescape C library (statically linked) and uses n-api to wrap to it. prebuildify and node-gyp-build are used to prebuild the ingescape.node binary for windows, macos and linux, and to deliver the right package for all the supported operating systems.

Prerequisites

Installing

You can install ingescape with npm.

npm install ingescape

Two examples of ingescape agents are provided in the directory ./examples. The multiply_example is a minimal example and the echo_example is a full example.

Building your own ingescape Node package

Install prebuildify to build the package :

npm install prebuildify

Replace the paths to the static ingescape library with your owns in the binding.gyp file.

Then, build your own ingescape package :

npm run build

Your package will be built in ./prebuilds/{platform}-{arch}/node.napi.node.

Testing your own ingescape Node package

Once built, you can test your ingescape package thanks to the ./tests/test.js script. Be sure to specify correct values for network device (default is 'en0') and port (default is 5670) variables inside the script.

npm run test
3.8.2

3 months ago

3.8.1

5 months ago

3.8.0

5 months ago

3.7.1

6 months ago

3.6.5

6 months ago

3.6.4

7 months ago

3.6.1

7 months ago

3.6.0

7 months ago

3.5.3

11 months ago

3.5.1

12 months ago

3.4.0

1 year ago

3.3.1

1 year ago

3.0.2

1 year ago

3.0.1

2 years ago

3.0.0

3 years ago

2.5.4

3 years ago

2.5.3

3 years ago

2.5.2

3 years ago

2.5.1

3 years ago

2.5.0

3 years ago