node-pre-gyp

A Node.js tool that makes it easy to publish and install C++ addons as prebuilt binaries. It sits between npm and node-gyp so users can skip compiling.

Share on XLicense: BSD-3-Clause

Overview

node-pre-gyp is a Node.js tool for publishing and installing C++ addons as prebuilt binaries. It sits between npm and node-gyp and gives addon authors a cross-platform way to deploy binaries, so people installing the package do not have to compile it themselves. It is installed as a dependency of the addon and run through its own command line tool.

Key features

  • Command line tool that installs a package's C++ module from a binary
  • Commands for building, packaging, testing and publishing binaries
  • Options to build from source or fall back to a build
  • JavaScript module that finds and requires the installed binary

Best for

Authors of Node.js C++ addons who want users to install prebuilt binaries instead of compiling. Its configuration expects entries in package.json and an S3 client for publishing.

Upstream
mapbox/node-pre-gyp
Fork on GitHub
Guo-astro/node-pre-gyp
Upstream stars
1.2k
Category
Developer tools and infrastructure
Language
JavaScript
License
BSD-3-Clause
Forked
2020-11-01
Sync status
In syncLast synced 2026-09-29