unoffical Node.js package
Project Links
Meta
Author: Jinzhe Zeng
Requires Python: >=3.7
Classifiers
License
- OSI Approved :: MIT License
Programming Language
- Python :: 3
Development Status
- 5 - Production/Stable
Environment
- Console
Unofficial Node.js wheels
nodejs-wheel is an unofficial repository to distribute Node.js prebuilt wheels through PyPI using
pip install nodejs-wheel
New in v20.13.0: If you don't need command line interface (CLI), install only nodejs-wheel-binaries, which is a direct dependency of nodejs-wheel.
pip install nodejs-wheel-binaries
The package requires Python 3.7 and above.
The project is powered by scikit-build-core and cibuildwheel.
Available Builds
| OS | Arch | Bit | Conditions | New in |
|---|---|---|---|---|
| Linux | x86_64 | 64 | glibc >= 2.28 | v18.18.0 |
| Linux | x86_64 | 64 | musl >= 1.2 | v20.14.0 |
| Linux | aarch64 | 64 | glibc >= 2.28 | v20.13.0 |
| Linux | aarch64 | 64 | musl >= 1.2 | v22.13.1 |
| macOS | x86_64 | 64 | >= macOS-13.5 | v18.18.0 |
| macOS | arm64 | 64 | >= macOS-13.5 | v20.11.1 |
| Windows | amd64 | 64 | v18.18.0 | |
| Windows | arm64 | 64 | v22.12.0 |
Usage
Command line
Only available in the nodejs-wheel package.
node -h
npm -h
npx -h
# New in v22.13.1
corepack -h
Run library module as a script
New in v20.13.0.
Only support node.
python -m nodejs_wheel --version
Python API
New in v20.13.0.
from nodejs_wheel import (
node,
npm,
npx,
# corepack: New in v22.13.1
corepack,
)
return_code0 = node(["--version"])
return_code1 = npm(["--version"])
return_code2 = npx(["--version"])
# corepack: New in v22.13.1
return_code3 = corepack(["--version"])
New in v20.13.1: pass return_completed_process=True to get subprocess.CompletedProcess instead of int.
completed_process0 = node(["--version"], return_completed_process=True)
completed_process1 = npm(["--version"], return_completed_process=True)
completed_process2 = npx(["--version"], return_completed_process=True)
# corepack: New in v22.13.1
completed_process3 = corepack(["--version"], return_completed_process=True)
License
nodejs-wheel distributed under the same MIT license as Node.js.
Other projects
The project is inspired by many other similiar projects:
- samwillis/nodejs-pypi: The package redistribute the official Node.js binaries to PyPI. However, the official binary for Nodejs 18 requires GLIBC 2.28, making it unsupported in manylinux2014 images. Besides, the wheel tag is wrong.
- sbwml/node-latest-centos: Use GitHub Actions to build Node.js in CentOS 7, but is not related to Python or PyPI.
- scikit-build/cmake-python-distributions: Use cibuildwheel and scikit-build to build CMake and distribute CMake in PyPI.
25.8.2rc0
Mar 31, 2026
25.5.0rc0
Feb 01, 2026
25.4.0rc0
Jan 21, 2026
25.3.0rc0
Jan 14, 2026
25.2.1rc0
Nov 24, 2025
24.14.1
Mar 31, 2026
24.14.0
Feb 27, 2026
24.13.1
Feb 12, 2026
24.13.0
Jan 14, 2026
24.12.0
Dec 11, 2025
24.11.1
Nov 18, 2025
24.9.0rc0
Sep 26, 2025
24.8.0rc0
Sep 12, 2025
24.4.1rc0
Jul 28, 2025
23.11.1rc0
Jun 08, 2025
23.7.0rc0
Jan 31, 2025
23.6.1rc0
Jan 22, 2025
23.6.0rc0
Jan 09, 2025
23.5.0rc0
Dec 20, 2024
23.3.0rc0
Dec 07, 2024
23.2.0rc0
Nov 12, 2024
23.1.0rc0
Oct 25, 2024
23.0.0rc0
Oct 17, 2024
22.20.0
Sep 26, 2025
22.19.0
Sep 12, 2025
22.18.0
Aug 01, 2025
22.17.1
Jul 27, 2025
22.17.0
Jun 29, 2025
22.16.0
May 22, 2025
22.15.1
May 15, 2025
22.15.0
Apr 23, 2025
22.14.0
Feb 11, 2025
22.13.1
Jan 22, 2025
22.13.0
Jan 09, 2025
22.12.0
Dec 06, 2024
22.11.0
Oct 30, 2024
22.10.0rc0
Oct 17, 2024
22.9.0rc0
Oct 14, 2024
20.18.0
Oct 03, 2024
20.17.0
Aug 21, 2024
20.16.0
Jul 24, 2024
20.15.1
Jul 09, 2024
20.15.0
Jun 20, 2024
20.14.0
May 28, 2024
20.13.1
May 12, 2024
20.13.0
May 07, 2024
Wheel compatibility matrix
| Platform | Python 2 | Python 3 |
|---|---|---|
| macosx_13_0_arm64 | ||
| macosx_13_0_x86_64 | ||
| manylinux_2_28_aarch64 | ||
| manylinux_2_28_x86_64 | ||
| musllinux_1_2_aarch64 | ||
| musllinux_1_2_x86_64 | ||
| win_amd64 | ||
| win_arm64 |
Files in release
nodejs_wheel_binaries-24.14.1-py2.py3-none-macosx_13_0_arm64.whl (52.4MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-macosx_13_0_x86_64.whl (52.6MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-manylinux_2_28_aarch64.whl (56.7MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-manylinux_2_28_x86_64.whl (57.2MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-musllinux_1_2_aarch64.whl (58.6MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-musllinux_1_2_x86_64.whl (59.2MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-win_amd64.whl (39.5MiB)
nodejs_wheel_binaries-24.14.1-py2.py3-none-win_arm64.whl (37.3MiB)
nodejs_wheel_binaries-24.14.1.tar.gz (7.9KiB)
Extras:
None
Dependencies:
typing-extensions