Helpers for Node.js addons and dependency packages
Go to file
Luis Blanco cd8527cdb1 Fix inline modifier 2022-12-10 11:57:17 +04:00
.github/workflows Split github action jobs 2022-12-05 23:02:43 +04:00
.vscode Update info 2022-12-05 22:44:35 +04:00
doc Update info 2022-12-05 22:44:35 +04:00
include Fix inline modifier 2022-12-10 11:57:17 +04:00
test Update info 2022-12-05 22:44:35 +04:00
.eslintrc Update info 2022-12-05 22:44:35 +04: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 Update header 2022-12-05 19:47:08 +04:00
LICENSE Update deps 2022-09-24 19:02:48 +04:00
README.md Update info 2022-12-05 22:44:35 +04:00
cpbin.d.ts Fix TS 2021-04-19 00:31:04 +03:00
cpbin.js Update header 2022-12-05 19:47:08 +04:00
download.d.ts Update deps 2022-09-24 19:02:48 +04:00
download.js Update header 2022-12-05 19:47:08 +04:00
index.d.ts Fix TS 2021-04-19 00:31:04 +03:00
index.js Update header 2022-12-05 19:47:08 +04:00
install.d.ts Fix TS 2021-04-19 00:31:04 +03:00
install.js Update header 2022-12-05 19:47:08 +04:00
package-lock.json Fix inline modifier 2022-12-10 11:57:17 +04:00
package.json Fix inline modifier 2022-12-10 11:57:17 +04:00
utils.d.ts Fix TS 2021-04-19 00:31:04 +03:00
utils.js Update header 2022-12-05 19:47:08 +04:00
writable-buffer.d.ts Fix TS 2021-04-19 00:31:04 +03:00
writable-buffer.js Update header 2022-12-05 19:47:08 +04: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.