
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
@foxssake/trimsock-js
Advanced tools
A reference implementation of the [trimsock protocol] for JavaScript and TypeScript.
A reference implementation of the trimsock protocol for JavaScript and TypeScript.
[!NOTE] This package by itself doesn't handle any network communication. For that, try trimsock-bun or trimsock-node.
Install the package, 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 an adapter for communication, for example trimsock-bun:
npm install @foxssake/trimsock-bun
pnpm add @foxssake/trimsock-bun
yarn add @foxssake/trimsock-bun
bun add @foxssake/trimsock-bun
Implement your server:
import { BunSocketReactor } from "@foxssake/trimsock-bun";
new BunSocketReactor()
.on("echo", (cmd, exchange) => exchange.replyOrSend(cmd))
.onError((cmd, exchange, error) => console.error("Error occured processing command:", error))
.listen({
hostname: "localhost",
port: 8890,
socket: {
open(socket) {
// Event handlers are supported as well
console.log("New connection!")
}
}
})
This package is under the MIT License.
FAQs
A reference implementation of the [trimsock protocol] for JavaScript and TypeScript.
The npm package @foxssake/trimsock-js receives a total of 20 weekly downloads. As such, @foxssake/trimsock-js popularity was classified as not popular.
We found that @foxssake/trimsock-js 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 is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.