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.
lnd-binary
Advanced tools
install lnd from npm https://github.com/lightningnetwork/lnd ⚡️
This package will download and install a precompiled lnd binary. The installed binary is verified against the official lnd binary checksums to ensure its integrity.
By default, the latest supported lnd release for your platform/architecture will be installed. Alternatively, a specific version can be specified using the configuration options below.
The lnd binary gets installed into the vendor
directory inside the module folder and symlinked into your node bin directory.
npm install lnd-binary --save
> npm install lnd-binary
> npx lnd --version
lnd version 0.4.2-beta
lnd-binary supports different configuration parameters to change settings related to the lnd binary such as binary name, binary path or alternative download path. Following parameters are supported by lnd-binary:
Variable name | package.json | .npmrc parameter | Process argument | Value |
---|---|---|---|---|
LND_BINARY_NAME | binaryName | lnd_binary_name | --lnd-binary-name | String |
LND_BINARY_SITE | binarySite | lnd_binary_site | --lnd-binary-site | URL |
LND_BINARY_PATH | binaryPath | lnd_binary_path | --lnd-binary-path | Path |
LND_BINARY_DIR | binaryDir | lnd_binary_dir | --lnd-binary-dir | Path |
LND_BINARY_PLATFORM | binaryPlatform | lnd_binary_platform | --lnd-binary-platform | Platform |
LND_BINARY_ARCH | binaryArch | lnd_binary_arch | --lnd-binary-arch | Architecture |
LND_BINARY_VERSION | binaryVersion | lnd_binary_version | --lnd-binary-version | Version |
These parameters can be used in package.json config
section:
{
"config": {
"lnd-binary": {
"binaryVersion": "0.4.2-beta"
}
}
}
These parameters can be used as environment variable:
export LND_BINARY_VERSION=0.4.2-beta
As local or global .npmrc configuration file:
lnd_binary_version=0.4.2-beta
As a process argument:
npm install lnd-binary --lnd-binary-version 0.4.2-beta
Run the tests suite:
npm test
Run with debugging output on:
DEBUG='lnd-binary' npm test
Feel free to dive in! Open an issue or submit PRs.
lnd-binary follows the Contributor Covenant Code of Conduct.
MIT © Tom Kirkpatrick
FAQs
Download the latest lnd binary
The npm package lnd-binary receives a total of 2 weekly downloads. As such, lnd-binary popularity was classified as not popular.
We found that lnd-binary demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.