Documentation menu

Installation

ATick for Node.js is one self-contained npm package with a prebuilt binary — nonode-gyp, no compiler, no build step.

Requirements

  • Node.js 10.16 or newer — the prebuilt binary is ABI-stable across all Node versions.
  • Any supported OS/arch — Windows 7+ (x64/x86/ARM64), Linux (x64/ARM64/ARM, every glibc distro), macOS (Intel/Apple Silicon).

Install

install.sh
npm install atick
install-alt.sh
# yarn / pnpm
yarn add atick
pnpm add atick

Verify

verify.js
const atick = require("atick");
console.log(atick.version());   // e.g. 1.0.6

How the prebuilt binary is loaded

The package ships a prebuilt binary for each platform underprebuilds/<platform>-<arch>/. At require("atick"), the right one is loaded for process.platform + process.arch — there is no compilation on install.

Next page →