A parallel fork of node-pty providing ia32, amd64, arm, and aarch64 prebuilt packages for macOS, Windows and Linux (glibc and musl libc).
Installations
npm install @homebridge/node-pty-prebuilt-multiarch
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.14.0
NPM Version
10.7.0
Score
68.4
Supply Chain
89.9
Quality
87.4
Maintenance
100
Vulnerability
99.3
License
Releases
Release v0.12.0-beta.5
Published on 28 Nov 2024
Release v0.12.0-beta.4
Published on 27 Nov 2024
Release v0.12.0-beta.3
Published on 27 Nov 2024
Release v0.12.0-beta.2
Published on 18 Nov 2024
Release v0.12.0-beta.1
Published on 14 Nov 2024
Release v0.12.0-beta.0
Published on 13 Nov 2024
Contributors
Unable to fetch Contributors
Languages
TypeScript (48.96%)
C++ (34.66%)
JavaScript (8.48%)
Shell (5.66%)
Python (2.23%)
Developer
Download Statistics
Total Downloads
326,741
Last Day
817
Last Week
6,130
Last Month
28,307
Last Year
220,501
GitHub Statistics
35 Stars
1,184 Commits
16 Forks
3 Watching
4 Branches
4 Contributors
Bundle Size
21.76 kB
Minified
6.03 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.11.14
Package Id
@homebridge/node-pty-prebuilt-multiarch@0.11.14
Unpacked Size
3.09 MB
Size
833.97 kB
File Count
308
NPM Version
10.7.0
Node Version
20.14.0
Publised On
07 Jun 2024
Total Downloads
Cumulative downloads
Total Downloads
326,741
Last day
4.7%
817
Compared to previous day
Last week
4.6%
6,130
Compared to previous week
Last month
28.6%
28,307
Compared to previous month
Last year
107.5%
220,501
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
node-pty-prebuilt-multiarch
This project is a parallel fork of node-pty
providing prebuilt packages for certain Node.js and Electron versions.
Inspired by daviwil/node-pty-prebuilt.
Usage
Thanks to the excellent prebuild
, prebuild-install
modules, and prebuildify
using this module is extremely easy.
You merely have to change your node-pty
dependency to @homebridge/node-pty-prebuilt-multiarch
and then change any require
statements in your code from require('node-pty')
to require('@homebridge/node-pty-prebuilt-multiarch')
.
NOTE: We started shipping prebuilds as of node-pty version 0.8.1, no prior versions are provided! If you were using an earlier version of
node-pty
you will need to update your code to account for any API changes that may have occurred.
How It Works
We maintain a parallel fork of the node-pty
codebase that will be updated as new releases are shipped.
When we merge new updates to the code into the prebuilt-multiarch
branch, new prebuilt packages for our supported Node.js and Electron versions are updated to the corresponding GitHub release.
When @homebridge/node-pty-prebuilt-multiarch
is installed as a package dependency, the installation script checks to see if there's a prebuilt package on this repo for the OS, ABI version, and architecture of the current process and then downloads it, extracting it into the module path.
If a corresponding prebuilt package is not found, node-gyp
is invoked to build the package for the current platform.
Prebuilt Versions
OS | Architectures |
---|---|
macOS | x64, arm64 |
Linux (glibc) | ia32, x64, armv6, aarch64 |
Linux (musl) | x64, armv6, aarch64 |
Windows | ia32, x64 |
We only provide prebuilt binaries for Node.js 16 and Electron 16.0.0 or higher. Pls note that prebuilds for Electron 28 are not supplied due to build issues.
Build / Package
Please note releasing this package uses GitHub actions.
This flows takes the branch selected from the workflow start drop down, and creates a GitHub and NPM Release containing the prebuild artifacts.
The version of the Release comes from the package.json, and in the case of a BETA release automatically appends the beta release version.
During processing, it leverages a branch called release-candidate
as a holding area for prebuilds.
When running the job, most times a couple of the instances of the sub step Commit & Push Changes
within Prebuild NPM and GitHub Release artifacts
fails.
When this occurs just re-run. This is due to concurrency issues between the steps and GitHub.
A typical run has 3-4 steps fail.
- Create branch
release-candidate
if not existing (the script deletes it before starting and will fail if it isn't present) - Ensure version tag within package.json reflects version you want to publish, please note beta tags are added by the action.
- Run Action
Run prebuild's and Create GitHub and NPM release
, and select branch you wish to publish, and if it needs to be BETA tagged and versioned - This will run for about an hour, and create a GitHub release with the prebuild artifacts attached, and a npm release with the prebuild artifacts attached
License
- Copyright (c) 2012-2015, Christopher Jeffrey (MIT License).
- Copyright (c) 2016, Daniel Imms (MIT License).
- Copyright (c) 2018, Microsoft Corporation (MIT License).
- Copyright (c) 2018, David Wilson (MIT License).
- Copyright (c) 2018, oznu (MIT License).
- Copyright (c) 2023, Homebridge (MIT License).
No vulnerabilities found.
No security vulnerabilities found.