
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Grab it from NPM:
npm i downpipe
To use downpipe, follow these steps:
Default
class export from the package. This is your pipe constructor.import Downpipe from 'downpipe'
const double = (n) => n * 2
const increment = (n) => n + 1
Downpipe
and feel free to destructure the v
function. Pass an object with your functions in as the sole argument.const { v } = new Downpipe({ double, increment })
Don't invoke the functions themselves, just invoke v
to pass the starting value in and then chain your functions. Make sure to end it with a return.
const someNumber = 473566;
const pipedNumber =
v(someNumber)
.double
.increment
.increment
.increment
.return;
console.log(pipedNumber); // Outputs: 947135
This project is licensed under the MIT License.
FAQs
pipe operator, it goes down
We found that downpipe 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.