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
Linux aarch64 64 musl >= 1.2 v22.13.1
macOS x86_64 64 >= macOS-11 v18.18.0
macOS arm64 64 >= macOS-11 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:

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-22.17.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

nodejs_wheel-22.17.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nodejs_wheel-22.17.0.tar.gz.

File metadata

  • Download URL: nodejs_wheel-22.17.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nodejs_wheel-22.17.0.tar.gz
Algorithm Hash digest
SHA256 55f7d4e1a7d836a5dae38004e5c2b9a499dfafe5fd6b5aeef538f0f799a98ec8
MD5 21d1662cfd0bcc1a175aca5d5efcc25b
BLAKE2b-256 7deb6db3341a0b6a155834fc359b352a66371cd8039730670185b41ce78a5423

See more details on using hashes here.

Provenance

The following attestation bundles were made for nodejs_wheel-22.17.0.tar.gz:

Publisher: build_wheel.yml on njzjz/nodejs-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nodejs_wheel-22.17.0-py3-none-any.whl.

File metadata

  • Download URL: nodejs_wheel-22.17.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nodejs_wheel-22.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1179fc5b88ec9ec35ac8c90e30988ec5041fd09f9bb722afaf8394968c641ef
MD5 5cd7ee9e51327fc4b459bf9f1b08f555
BLAKE2b-256 6bc6da925831d7a5be1f12311747b103a1c98aea7e925f1772dca235051279f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nodejs_wheel-22.17.0-py3-none-any.whl:

Publisher: build_wheel.yml on njzjz/nodejs-wheel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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