Back to Explore

un-ts/napi-postinstall

GitHub
1 watchersOpen source

Last release: 8 months ago

napi-postinstall is a helper you run from an npm postinstall script to automatically check and prepare napi native binding packages, specifically for legacy npm versions. It provides a CLI and an API function for ensuring the required napi binding artifacts are set up during installation (including a fallback module).

Project status

  • Actively maintained, the repository shows recent upstream activity (last push 2026-06-01) and multiple recent v0.3.x updates after July 2025.
  • Update cadence appears fairly steady, with v0.3.2 (2025-07-18), v0.3.3 (2025-08-09), and v0.3.4 (2025-10-04).

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.3.4

    8 months ago

    v0.3.4 extends platform and target resolution to support the loong64 architecture and the OpenHarmony platform. Release notes only mention that feature addition, but the code also changes how certain triples are interpreted and how Windows MinGW targets are selected.

    Features
  • v0.3.3

    9 months ago

    v0.3.3 adds support for fetching registry metadata over plain HTTP (not just HTTPS). It also updates the CLI to attempt reading the current working directory's package.json, and uses that data when it matches the provided package name and version.

    Features
  • v0.3.2

    10 months ago

    Release v0.3.2 is effectively a republish/reversion update with minimal changes. The only substantive diff is a small documentation snippet change in README, plus the package version bump to 0.3.2.