Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejs-wheel-binaries

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-wheel-binaries

unoffical Node.js package

  • 22.12.0
  • PyPI
  • Socket score

Maintainers
1

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

OSArchBitConditionsNew in
Linuxx86_6464glibc >= 2.17v18.18.0
Linuxx86_6464musl >= 1.2v20.14.0
Linuxaarch6464glibc >= 2.17v20.13.0
macOSx86_6464>= macOS-11v18.18.0
macOSarm6464>= macOS-11v20.11.1
Windowsamd6464v18.18.0
Windowsarm6464v22.12.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:

  • samwillis/nodejs-pypi: The package redistribute the official Node.js binaraies to PyPI. However, the offical 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc