Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
pc-nrfjprog-js
Advanced tools
Node.js library that exposes the functionality of the nRF Command Line Tools, used for development, programming, and debugging of Nordic Semiconductor's SoCs (System on Chip).
The library can be installed from npm, using:
npm install pc-nrfjprog-js
This will pull down precompiled binaries for your platform/runtime environment. If precompiled binaries do not exist, then npm will try to compile them, which requires:
As part of the installation procedure, pc-nrfjprog-js will check if it can access the nrfjprog libraries, and verify that they are up to date. If not, it will try to install/upgrade these libraries.
The library can be built from source, using:
npm run build
The library can be build from source while installing, using:
npm install --build-from-source
Building from source requires the tools from Installing to be installed.
SEGGER J-Link Software must be downloaded and installed.
If you are seeing errors like Errorcode: CouldNotLoadDLL (0x3)
then please check that the J-Link library is properly installed.
https://nordicsemiconductor.github.io/pc-nrfjprog-js/
const nrfjprogjs = require('pc-nrfjprog-js');
nrfjprogjs.getConnectedDevices(function(err, devices) {
console.log('There are ' + devices.length + ' nRF devices connected.');
});
The project has integration tests that run against a devkit/dongle. Note that these tests will erase the contents on the connected devkit/dongle. To run the tests:
npm test
FAQs
Javascript bindings for nrfjprog
We found that pc-nrfjprog-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.