Content-Length: 1043 | pFad | http://github.com/npm/cli/commit/feb54f7e9a39bd52519221bae4fafc8bc70f235e.patch
01
From feb54f7e9a39bd52519221bae4fafc8bc70f235e Mon Sep 17 00:00:00 2001
From: Gar
Date: Mon, 7 Oct 2024 09:53:31 -0700
Subject: [PATCH] docs(package.json): add libc field (#7822)
---
docs/lib/content/configuring-npm/package-json.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/lib/content/configuring-npm/package-json.md b/docs/lib/content/configuring-npm/package-json.md
index ff9c290078e09..58b10d92ec6bb 100644
--- a/docs/lib/content/configuring-npm/package-json.md
+++ b/docs/lib/content/configuring-npm/package-json.md
@@ -1129,6 +1129,18 @@ Like the `os` option, you can also block architectures:
The host architecture is determined by `process.arch`
+### libc
+
+If your code only runs or builds in certain versions of libc, you can
+specify which ones. This field only applies if `os` is `linux`.
+
+```json
+{
+ "os": "linux",
+ "libc": "glibc"
+}
+```
+
### devEngines
The `devEngines` field aids engineers working on a codebase to all be using the same tooling.
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/npm/cli/commit/feb54f7e9a39bd52519221bae4fafc8bc70f235e.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy