
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
callbag-map
Advanced tools
Callbag operator that applies a transformation on data passing through it
/**
npm install callbag-map
const fromIter = require('callbag-from-iter');
const iterate = require('callbag-iterate');
const map = require('callbag-map');
const source = map(x => x * 0.1)(fromIter([10,20,30,40]));
iterate(x => console.log(x))(source); // 1
// 2
// 3
// 4
*/
const map = f => source => (start, sink) => { if (start !== 0) return; source(0, (t, d) => { sink(t, t === 1 ? f(d) : d) }); };
module.exports = map;
FAQs
Callbag operator that applies a transformation on data passing through it
The npm package callbag-map receives a total of 4,684 weekly downloads. As such, callbag-map popularity was classified as popular.
We found that callbag-map 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.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.