
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
ss-typescript
Advanced tools
Allows you to use Typescript files (.ts) in your SocketStream project.
Add ss-typescript
to your application's package.json
file and then add this line to app.js:
ss.client.formatters.add(require('ss-typescript'));
The Typescript.api module does not automatically reference the lib.d.ts file which describes javascript capabilities of the browser (see Here for details).
In order to avoid compiler errors when using things like console.log
or alert
you will need to include the definition files manually.
The typescript.api project did this by design so as not to bloat compile jobs that didn't need all of the browser definitions (i.e. a node project).
I suggest going into the node_modules/ss-typescript/node_modules/typescript.api/decl/
and grabbing the definition files that you care about and reference them
in your own files. This isn't an ideal solution, but it works around the problem.
I have a clientLibs.d.ts file which contains all of the references need by my client code including lib.d.ts
FAQs
Typescript wrapper for SocketStream 0.3
We found that ss-typescript 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.