Development
#
App- Platform: Windows
- Runtime: Node 14.x
- Template Project: Ave-Nodejs-Template
- Docs: Components
#
LibAve Lib consists of two parts:
- Use Visual Studio to build node addon
- Use TypeScript to build npm package based on API exported from node addon
#
Node Addon- Clone repo: https://github.com/qber-soft/Ave-Nodejs
- Download Avernakis SDK: Download
SDK.7z
from https://github.com/qber-soft/Ave-SDK/releases, unzip it, copyAvernakis
toCode\External
. - Build node addon: Open
Code\Avernakis Nodejs\Avernakis Nodejs.sln
, selectRelease x64
, buildAvernakis-Nodejs
project.Avernakis-Nodejs.node
will be available in_BuildOutput\x64_Release
. - Use node addon: copy
Avernakis-Nodejs.node
toCode\Avernakis Nodejs\Test-Nodejs\lib
. - NPM package development: goto
Code\Avernakis Nodejs\Test-Nodejs
, runnpm install
, thennpm run dev:unit
ornpm run dev:app
.