
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.
typebox-cli
Advanced tools
CLI tool for various TypeBox and JSON Schema operations.
npm install -g typebox-cli
Input file (i.e. types.ts
):
export type T = "test";
Run TypeBox Codegen:
typebox codegen TypeBox --source types.ts
Outputs:
import { Type, Static } from '@sinclair/typebox'
export type T = Static<typeof T>
export const T = Type.String()
Input file (i.e. typebox.ts
):
import { Type } from "@sinclair/typebox";
export const T = Type.String();
Run JSON Schema extraction:
typebox extract json --module typebox.ts -e T
Outputs:
{
"$id": "T",
"type": "string"
}
# Extract - Extract JSON schema from exported TypeBox variables:
typebox extract json --module <module path>
# Codegen -- Generate Schema from either TypeScript types (using --source) or TypeBox schema (using --module):
typebox codegen <model-name> --source <source file> # Generate from TypeScript Types.
typebox codegen <model-name> --module <module path> # Generate from exported TypeBox Schema values.
# List available Codegen models:
typebox list
# Misc
typebox --version # Display current typebox version.
typebox --help # Help
typebox-cli
is based on these packages:
FAQs
CLI tool for various TypeBox and JSON Schema operations
The npm package typebox-cli receives a total of 227 weekly downloads. As such, typebox-cli popularity was classified as not popular.
We found that typebox-cli 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.
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.