Skip to main content

rodacom.buildout.npm

A zc.buildout recipe to install NodeJS packages locally using npm.

This recipe will install wanted packages in the local node_modules directory, and create a link to binaries in the buildout bin directory.

Options

packages:

required, a list of package names to install (can specify a version with the syntax name@version).

node_path:

absolute path to the node executable, by default the bin/node in buildout directory.

npm_path:

absolute path to the npm executable, by default the bin/npm in buildout directory.

Examples

Using a locally compiled NodeJS:

[nodejs]
recipe = zc.recipe.cmmi
url = http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz
bin_node = ${buildout:parts-directory}/nodejs/bin/node
bin_npm = ${buildout:parts-directory}/nodejs/bin/npm

[coffee]
recipe = rodacom.buildout.npm
node_path = ${nodejs:bin_node}
npm_path = ${nodejs:bin_npm}
packages = coffee-script@1.6.3

Known bugs

  • The links generated in the ‘bin’ directory are not removed on uninstall.

Metadata

Release files for rodacom.buildout.npm 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rodacom.buildout.npm 0.5
File Size Uploaded Provenance Actions
rodacom.buildout.npm-0.5.tar.gz 2.7 kB Without provenance Details for rodacom.buildout.npm-0.5.tar.gz

Release files / rodacom.buildout.npm-0.5.tar.gz

Download URL rodacom.buildout.npm-0.5.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1d8b3b417254735ac60f59ff5409fc269dfd9678a8cce8e7623a030d504e5b21
BLAKE2b-256 checksum
How to use checksums
ea41e4b4f1d667bde1af89ed4ab271b9adc4f0923ae27c32b499932009c64c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rodacom.buildout.npm 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page