A Python interface to NPM and package.json, providing utilities to run npm scripts and manage Node.js dependencies from Python. Version 0.3.0 is the latest, with infrequent releases.
pip install pynpmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create an NPMPackage instance pointing to a directory with package.json, then run an npm script.
Always pass a path to NPMPackage (e.g., NPMPackage('.')) for current directory.Use pnpm() only if you have pnpm installed. For npm scripts, always use NPMPackage.
Replace calls to pynpm.npm() with NPMPackage().run_script().
Use from pynpm import NPMPackage and NPMPackage(path).run_script('script_name').Install Node.js and npm, or ensure they are in your system PATH.
No dependency data recorded yet.