关于包和模块
npm 注册表包含包,其中许多也是 Node 模块,或者包含 Node 模块。继续阅读以了解它们的不同之处以及它们如何相互作用。
关于包
包是由 package.json
文件描述的文件或目录。包必须包含 package.json
文件才能发布到 npm 注册表。有关创建 package.json
文件的更多信息,请参阅 "创建 package.json 文件"。
包可以不限定范围或限定给用户或组织,限定范围的包可以是私有的或公共的。有关详细信息,请参阅
- "关于范围"
- "关于私有包"
- "包的范围、访问级别和可见性"
关于包的格式
包是以下任何一种:
- bfuDydJGCX0ojotM46FiKHXesMhtvg8rolbxu5u3QokLH+WpiswMTbxVRv4RTsTHteJ6wGQs1rAJNXm+Gs4ETOWPkRHMsmol047IvSLhi60+yS/aeuru0vaFs9mbYtpSqbYfed3TwQbwU8Ol4d3bRjQpNVriuob62+wMGzH4ttXBmdo6lAkX8bNcoJrnlMaLYARs06pi4MsryF+w/Czy0kI8D1fN/YGltbgMhQaO0MjASTOKqWOr7l3xcjsj0R/jjQwjjK9ItBS7cR5SUu81oIAgWhHZGZkePPuzoVbgqskKKsSTfioj9/1skJ4/QFeWNfnp+4emVyFfVU2kifU5kRV9ctyZon7udOXUlvZ0U+lzDeKAfZ3Fiihw+SiKFCo1YYYt5EKmUx+RUEbrZKTEl6P8uALOGoXmhBCYUVx4Mp7ptAWXF2eHt3AfThHqnqVTlmiREV9ZHTtqPT5P1v6wR+S1JK7hRxAQ99lSx7l20olJ7rO6bApywzy6hoz4u8WXZ5cVxubZXl8ZFaVc3TnWNAtyBnufea8y2jedDtNbM0wVL5sOEKFfMxJCooJlp7Kepp5xV4UPa+3XPh0zRa4bsID1JZ02OB+6mceHQiAU6RlqZIfEUp6bSwltzEw8m4E/Sn0LrmJGV8Hhscr3zZKLIg==
npm 包 git URL 格式
ssVWKAFLvSlCyeGoAc/kfPmpR7VCDRmjr++bxLxVjGnTRtl4BDfGS3lJPKMtbYeYDMqJvKt1eyoHoQ62y02gQw==
- jnWsGnWz7kOrlTnAYHDsx9ZjN3TLd9DCfv5+KfoOaDNL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