Helpers for Node.js addons and dependency packages
Go to file
Luis Blanco 9857670794 Add peer meta 2022-09-25 12:44:26 +04:00
.github/workflows Update deps 2022-09-24 19:02:48 +04:00
.vscode Update deps 2022-09-24 19:02:48 +04:00
doc Add peer meta 2022-09-25 12:44:26 +04:00
include Update deps 2022-09-24 19:02:48 +04:00
test Update deps 2022-09-24 19:02:48 +04:00
.eslintrc Fix lints 2021-04-03 16:07:45 +03:00
.gitattributes Update deps 2022-09-24 19:02:48 +04:00
.gitignore Update deps 2022-09-24 19:02:48 +04:00
CPPLINT.cfg Move CPPLINT config 2020-03-29 22:38:23 +03:00
LICENSE Update deps 2022-09-24 19:02:48 +04:00
README.md Adjust readme 2022-09-24 19:11:40 +04:00
cpbin.d.ts Fix TS 2021-04-19 00:31:04 +03:00
cpbin.js Update deps and tests 2021-03-21 17:11:24 +03:00
download.d.ts Update deps 2022-09-24 19:02:48 +04:00
download.js Update deps 2022-09-24 19:02:48 +04:00
index.d.ts Fix TS 2021-04-19 00:31:04 +03:00
index.js Add peer meta 2022-09-25 12:44:26 +04:00
install.d.ts Fix TS 2021-04-19 00:31:04 +03:00
install.js Add peer meta 2022-09-25 12:44:26 +04:00
package-lock.json Adjust readme 2022-09-24 19:11:40 +04:00
package.json Add peer meta 2022-09-25 12:44:26 +04:00
utils.d.ts Fix TS 2021-04-19 00:31:04 +03:00
utils.js Rewrite install 2020-03-23 23:42:13 +03:00
writable-buffer.d.ts Fix TS 2021-04-19 00:31:04 +03:00
writable-buffer.js Update workflows 2021-04-03 14:05:05 +03:00

README.md

Addon Tools

This is a part of Node3D project.

NPM CodeFactor

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.