Will my npm dependencies install on this platform without compiling?
native_checkBefore building on Alpine, Linux ARM, Windows ARM, a Mac or Lambda, checks which npm dependencies contain native code and whether a prebuilt binary exists for the target platform. For those that would compile from source (needing a C/C++ toolchain and Python) or fail, gives the nearest newer version that ships a prebuilt for that platform, with that upgrade's risk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max breaking changes shown for each suggested fix | 5 |
| platform | Yes | Target platform: os-cpu[-libc], e.g. linux-x64-glibc, linux-arm64-musl, darwin-arm64, win32-arm64; or alpine, alpine-arm64, linux, linux-arm64, lambda, lambda-arm64, windows, win-arm64, mac, mac-intel | |
| requirements | Yes | The project's dependencies: the contents of package-lock.json (best), package.json, or one 'name@version' per line |