computing:epeios:tools:njsq

'Node.js' addon wrapper ('NJSq')

NPM

GitHub njsq on GitHub
Travis CI (GNU/Linux & macOS) njsq on Travis CI
AppVeyor (Windows) njsq on AppVeyor

Introduction

As each major version of Node.js (4, 5, 6…) has its own ABI which are incompatible with each other, a specific binary version of an Node.js addon has to be provided for each Node.js major version.

NJSq is a Node.js addon and, as hinted above, has to be compiled specifically for each major version of Node.js. But NJSq is only a wrapper to the true addons, which are dynamic libraries loaded by NJSq. This allows to compile this libraries only once, and the resulting binary can be used, with all version of Node.js, by using the dedicated NJSq binary .

Of course, regardless of the version of Node.js, both NJSq and the true addon dynamic library still have to match the platform (IA-32, AMD64, ARM…).

NJSq works with GNU/Linux (and probably other POSIX compliant operating systems), macOS and Windows, on IA-32, AMD64 and ARM (AArch32 and AArch64, like those on Raspberry Pi, Banana Pi, ODROID… devices) architectures.

Installation

You should not have to install NJSq explicitly, as it's only a wrapper which will be installed when needed, but you can by launching npm install njsq.

Under GNU/Linux and other POSIX compliant systems (including macOS), you have a suitable development environment to be installed, that is, a C++ compiler (g++, Clang…) and the make command.

Configuration

You should not have to modify the configuration file.

See also the configuration related page.

License

NJSq is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Other rights can be granted, but only by an explicitly written permission from the author of NJSq.

Author

NJSq is developed by Claude SIMON (http://q37.info/contact/).

computing/epeios/tools/njsq.txt · Last modified: Wed Nov 1 15:12:30 2017 (01/11/17) by Claude SIMON