
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
bfs-backend-example
Advanced tools
This package has been specifically designed and implemented for use in bits-fusion workshops. It is intended to be utilized in a Node.js environment with TypeScript. The package serves as a wrapper for two dependencies, namely serialport and express, and offers straightforward APIs to facilitate rapid development.
Go to project directory and install dependencies
npm install bfs-backend-example
/**
* Example 1 - Serial Port
* What is your port name?
* - Windows: Open device manager
* - Mac: Run `ls /dev/tty.*` in terminal
*/
import { McuSerial } from 'bfs-backend-example';
const PORT_NAME = "COM1"; //!! <-- DEPENDED ON YOUR SYSTEM
new McuSerial(PORT_NAME, {
onOpen: (link: McuSerial) => {
link.send("pwmd/3/0.99");
},
onData: (data) => {
console.log(data);
},
});
/**
* Example 2 - Simple Web Server
*/
import { WebServer } from 'bfs-backend-example';
new WebServer();
/**
* Example 5 - Simple Web Server with MCU
* Note:
* - Check and set serial port name.
* - Goto `http://localhost:3000/mcu` to get MCU message.
*/
import { McuSerial, WebServer } from 'bfs-backend-example';
new WebServer(new McuSerial("COMx"));//!! <-- DEPENDED ON YOUR SYSTEM
FAQs
bits-fusion backend example
We found that bfs-backend-example demonstrated a not healthy version release cadence and project activity because the last version was released 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.