
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@flock/wirespec
Advanced tools
Simplify your API development workflows, accelerate implementation, and guarantee strict adherence to defined contract specifications
Simplify your API development workflows, accelerate implementation, and guarantee strict adherence to defined contract specifications
Wirespec is a tool that simplifies interface design using a contract-first approach, with concise, human-readable specifications as the single source of truth.
Visit wirespec.io for more information about the project.
You can install wirespec globally or as a dev dependency in your project:
# Install as a dev dependency
npm install --save-dev wirespec
# Or install globally
npm install -g wirespec
The wirespec plugin can be used directly through the command line. Below are some example commands:
# Create a new Wirespec file
wirespec generate <filename>
# Validate an existing Wirespec file
wirespec validate <filename>
You can also use wirespec in your JavaScript or TypeScript code:
import { generate, validate } from 'wirespec';
// Generate a Wirespec file
generate('example.wirespec');
// Validate a Wirespec file
const isValid = validate('example.wirespec');
console.log(`Is valid: ${isValid}`);
Contributions are welcome! If you find any issues or want to suggest new features, feel free to open an issue or submit a pull request.
See our CONTRIBUTING.md for more details
This project is licensed under the Apache-2.0 license.
Elevate your Wirespec development workflow with the wirespec npm library.
FAQs
Simplify your API development workflows, accelerate implementation, and guarantee strict adherence to defined contract specifications
We found that @flock/wirespec demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.