addon-tools-raub

Helpers for Node.js addons and dependency packages

Usage no npm install needed!

<script type="module">
  import addonToolsRaub from 'https://cdn.skypack.dev/addon-tools-raub';
</script>

README

Addon Tools

This is a part of Node3D project.

NPM CodeFactor

npm i addon-tools-raub

Synopsis

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.

Go to:

index.js

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

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.