Skip to main content

unoffical Node.js package

Project description

Unoffical Node.js wheels

Pypi version Pypi downloads Pypi downloads Pypi downloads

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.

Pypi version Pypi downloads Pypi downloads Pypi downloads

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.17 v18.18.0
Linux x86_64 64 musl >= 1.2 v20.14.0
Linux aarch64 64 glibc >= 2.17 v20.13.0
macOS x86_64 64 >= macOS-11 v18.18.0
macOS arm64 64 >= macOS-11 v20.11.1
Windows amd64 64 v18.18.0

Usage

Command line

Only available in the nodejs-wheel package.

node -h
npm -h
npx -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,
)

return_code0 = node(["--version"])
return_code1 = npm(["--version"])
return_code2 = npx(["--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)

License

nodejs-wheel distributed under the same MIT license as Node.js.

Other projects

The project is inspired by many other similiar projects:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nodejs_wheel_binaries-22.11.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distributions

nodejs_wheel_binaries-22.11.0-py2.py3-none-win_amd64.whl (39.3 MB view hashes)

Uploaded Python 2 Python 3 Windows x86-64

nodejs_wheel_binaries-22.11.0-py2.py3-none-musllinux_1_2_x86_64.whl (58.8 MB view hashes)

Uploaded Python 2 Python 3 musllinux: musl 1.2+ x86-64

nodejs_wheel_binaries-22.11.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.7 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ x86-64

nodejs_wheel_binaries-22.11.0-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (56.4 MB view hashes)

Uploaded Python 2 Python 3 manylinux: glibc 2.17+ ARM64

nodejs_wheel_binaries-22.11.0-py2.py3-none-macosx_11_0_x86_64.whl (51.1 MB view hashes)

Uploaded Python 2 Python 3 macOS 11.0+ x86-64

nodejs_wheel_binaries-22.11.0-py2.py3-none-macosx_11_0_arm64.whl (50.3 MB view hashes)

Uploaded Python 2 Python 3 macOS 11.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page