Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
binary2npm
Advanced tools
Prepare execution script for linking binaries from other tools/languages
Prepare execution script for linking binaries from other tools/languages
Currently supports only GitHub API
npm install binary2npm
# or
yarn install binary2npm
# or
bun add binary2npm
Name | Description | Required |
---|---|---|
GITHUB_TOKEN | For GitHub API | Yes |
See example
// postinstall.js
import { prepare } from "binary2npm";
await prepare({
remote: "github",
author: "MyGitHubUser",
repository: "my-repo",
remoteToken: process.env.GITHUB_TOKEN, // To avoid Github API limiting
binary: "my-binary",
});
then add postinstall.js
as hook into your projects scripts, see how it's implemented in Used for CLIs
This project was made for first entry but then improved and added support for other ways as well as Windows support added
Apache-2.0
FAQs
Prepare execution script for linking binaries from other tools/languages
The npm package binary2npm receives a total of 0 weekly downloads. As such, binary2npm popularity was classified as not popular.
We found that binary2npm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.