{"library":"napi-build-utils","type":"library","category":null,"description":"napi-build-utils is a pure JavaScript utility library designed specifically for developers creating tools that build Node-API native add-ons. It provides essential functions to programmatically determine the Node-API version supported by the current Node.js instance, read the declared supported N-API versions from a `package.json` file, and validate if a specific N-API version can be built in a given environment. Unlike the native add-ons it helps manage, this module itself is entirely written in JavaScript, ensuring broad compatibility without requiring compilation. The current stable version is 2.0.0, with releases typically occurring as new N-API versions emerge or specific Node.js runtime limitations need addressing. Its key differentiator is simplifying the often complex versioning and compatibility checks inherent in N-API development, preventing common build and runtime errors for native modules.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","n-api","prebuild","prebuild-install"],"install":[{"cmd":"npm install napi-build-utils","imports":["import napiBuildUtils from 'napi-build-utils';","import { getNapiVersion } from 'napi-build-utils';","import { getNapiBuildVersions } from 'napi-build-utils';","import { isSupportedVersion } from 'napi-build-utils';"]},{"cmd":"yarn add napi-build-utils","imports":[]},{"cmd":"pnpm add napi-build-utils","imports":[]}],"homepage":null,"github":"https://github.com/inspiredware/napi-build-utils","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/napi-build-utils","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/napi-build-utils/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}