Addon Tools
This is a part of Node3D project.
npm i addon-tools-raub
This module contains numerous helpers for Node.js NAPI
addons and dependency packages. On this page, helper scripts
are described. For details on addon-tools.hpp and some
additional snippets follow the links below.
Docs:
index.js
NOTE: peer dependency node-addon-api
is required for this helper.
Main exports for cross-platform addon configuration.
See TypeScript definitions with comments.
download.js
Downloads a file into the memory, HTTP or HTTPS.
See TypeScript definitions with comments.
cpbin.js
Downloads a file into the memory, HTTP or HTTPS.
See TypeScript definitions with comments.
install.js
NOTE: peer dependency adm-zip
is required for this helper.
Downloads and unzips the platform specific binary for the calling package.
See TypeScript definitions with comments.
writable-buffer.js
A Writable
stream buffer.
See TypeScript definitions with comments.
utils.js
Async fs
based helpers for common addon-related file operations.
See TypeScript definitions with comments.