Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.