![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
json-schema-static-docs
Advanced tools
Generates static documentation for humans based on the contents of JSON schema files (yml or json).
Generates static documentation for humans based on the contents of JSON schema files (yml or json).
Currently supports schema specified using the following specification versions: draft-06, draft-07, draft-2019-09, and draft 2020-12.
For complete documentation, including examples and supported keywords, see tomcollins.github.io/json-schema-static-docs.
npm install json-schema-static-docs
See the docs for more details.
const JsonSchemaStaticDocs = require("json-schema-static-docs");
(async () => {
let jsonSchemaStaticDocs = new JsonSchemaStaticDocs({
inputPath: "./schema",
outputPath: "./docs",
ajvOptions: {
allowUnionTypes: true,
},
});
await jsonSchemaStaticDocs.generate();
console.log("Documents generated.");
})();
To use schema based on draft-2020-12
set options.jsonSchemaVersion
to https://json-schema.org/draft/2020-12/schema
.
const JsonSchemaStaticDocs = require("json-schema-static-docs");
(async () => {
let jsonSchemaStaticDocs = new JsonSchemaStaticDocs({
inputPath: "./schema",
outputPath: "./docs",
jsonSchemaVersion: "https://json-schema.org/draft/2020-12/schema",
ajvOptions: {
allowUnionTypes: true,
},
});
await jsonSchemaStaticDocs.generate();
console.log("Documents generated.");
})();
All schema documents must use must use draft-2020-12
, you can not combine this with earlier versions such as draft-07
.
FAQs
Generates static documentation for humans based on the contents of JSON schema files (yml or json).
We found that json-schema-static-docs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.