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.
bespoke-sync
Advanced tools
Setup with Server Sent Events (for Server -> Client communication) and plain XMLHttpRequests (for Client -> Server communication).
Can be used to setup two screens (e.g. one for audience one for presenter) in sync:
Audience screen: Your screen:
Above demo uses bespoke-notes plugin to display notes on presenter's laptop screen
Use returned middleware as in example below. You can use it directly in your server handler, or handle it with Connect
var bespokeSyncMiddleware = require('bespoke-sync/server')({
// Options (all optional, with defaults as below)
log: false,
ssePath: '/sse-slides/',
xhrPath: '/slide/'
});
createServer(function (req, res) {
bespokeSyncMiddleware(req, res, function () {
// Request not handled by Bespoke, handle below
// ...
});
});
var sync = require('bespoke-sync/client');
bespoke.from(selector, [
// Options (all optional, with defaults as below)
sync({
log: false,
ssePath: '/sse-slides/', // Must match ssePath in server conf
xhrPath: '/slide/' // Must match xhrPath in server conf
})
]);
In your presentation path:
$ npm install bespoke-sync
FAQs
Cross-client synchronization for Bespoke.js presentations
We found that bespoke-sync 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.
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.