
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
tessel-reactive
Advanced tools
Tessel reactive is a functional reactive programming library that uses BaconJS in order to expose streams for Tessel modules, buttons, pins, …
It allows you to quickly develop for a Tessel.io board in a functional/baconJS style.
The library contains classes to work in a reactive style using the following modules and perhiperals. Note that it DOES NOT depend on the required libraries for the supported tessel modules. You have to instantiate those yourself.
Modules provide either input, output or both. The inputs and outputs are BaconJS streams/buses respectively, and provide/consume objects. Each object has a value. For example, a digital pin will produce events with a value true/false depending on the pin state (high/low).
A LED (which is a digital pin set to output) can consume the same values in order to SET the pin state (see example).
var tessel = require("tessel"), tr = require("tessel-reactive");
var climate = require("climate-si7020");
var ambient = require("ambient-attx4");
var climateModule = new tr.ClimateModule(climate.use(tessel.port.B),{name:"climateB", interval: 1000});
var ambientModule = new tr.AmbientModule(ambient.use(tessel.port.C),{name:"ambientA",interval: 1000});
var button = new tr.Button(new tr.DigitalPin(tessel.button),{name:"Button 2"});
var blueLED = new tr.DigitalPin(tessel.led[1]);
var aggregatedInputs = climateModule.input().merge(ambientModule.input());
aggregatedInputs.onValue(function(value)){
console.log(value);
};
// subscribe the blue led pin to the output of the button.
// The led will respond to the boolean button states...
blueLED.output().plug(button.input());
FAQs
Reactive programming library For Tessel.IO
We found that tessel-reactive 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.