
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@foxssake/trimsock-node
Advanced tools
Provides support for using trimsock-js with node.js.
Install trimsock-js, using the command appropriate for your environment:
npm install @foxssake/trimsock-js
pnpm add @foxssake/trimsock-js
yarn add @foxssake/trimsock-js
bun add @foxssake/trimsock-js
Install the package:
npm install @foxssake/trimsock-node
pnpm add @foxssake/trimsock-node
yarn add @foxssake/trimsock-node
bun add @foxssake/trimsock-node
Implement a server:
import { NodeSocketReactor } from "@foxssake/trimsock-node";
const port = 8890
new NodeSocketReactor()
.on("echo", (cmd, exchange) => exchange.replyOrSend(cmd))
.onError((cmd, exchange, error) => console.error("Failed to process command:", command, error))
.serve({}, (socket) => {
// Custom event handlers are supported
console.log("New connection!");
})
.listen(port, () => console.log("Listening on port", port));
This package is under the MIT License.
FAQs
Provides support for using [trimsock-js] with [node.js].
We found that @foxssake/trimsock-node demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.