
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
@tsofist/schema-forge
Advanced tools
This library is a set of utilities for generating JSON schemas from TypeScript types of your project, as well as for validating data according to these schemas.
Use ./test-sources directory and *.spec-files for examples.
You can organize your types and interfaces in such a way that it is they who generate the json-schema. Thus, unnecessary types will not get into the result. You can also control the descriptions of types and the selectivity of interface members and individual types (be careful with these features, they can lead to the impossibility of full validation on the side that will use this data).
Main idea is to create type descriptions by whose schemes in the future it will be possible to validate arbitrary data.
todo
This project is licensed under the LGPL-3.0 License – see the LICENSE file for details.
FAQs
Generate JSON schema from TypeScript types
The npm package @tsofist/schema-forge receives a total of 16 weekly downloads. As such, @tsofist/schema-forge popularity was classified as not popular.
We found that @tsofist/schema-forge 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.