New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tsofist/schema-forge

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsofist/schema-forge

Generate JSON schema from TypeScript types

latest
npmnpm
Version
5.6.0
Version published
Maintainers
1
Created
Source

Schema Forge

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.

Please note: Instruction is under construction

Use ./test-sources directory and *.spec-files for examples.

Generator

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).

How it works?

Main idea is to create type descriptions by whose schemes in the future it will be possible to validate arbitrary data.

Validator

todo

License

This project is licensed under the LGPL-3.0 License – see the LICENSE file for details.

FAQs

Package last updated on 30 Mar 2026

Did you know?

Socket

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.

Install

Related posts