Skip to content

Support libc field in package.json #4454

@yisibl

Description

@yisibl

Describe the user story
Some packages (SWC, sharp, @napi-rs/canvas) publish native packages for both glibc and musl. At the moment users need to install both versions, as there is no conditional differentiator as for os and cpu.

Currently yarn 3.2+ and cnpm have implemented the libc field, the npm implementation is still under discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions