Skip to main content
Home

Built and signed on GitHub Actions

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
52%
Published
2 months ago (4.2.2)

@targetd/json-schema

Creates JSON schema from targetd data objects

Example

# Node.js
npx xjsr @targetd/json-schema/cli --inputModule src/data.ts --dataExport data --outputFile src/data.schema.json

# Deno
deno run jsr:@targetd/json-schema/cli --inputModule src/data.ts --dataExport data --outputFile src/data.schema.json
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";
or

Import directly with a jsr specifier

import * as json_schema from "jsr:@targetd/json-schema";

Add Package

pnpm i jsr:@targetd/json-schema
or (using pnpm 10.8 or older)
pnpm dlx jsr add @targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";

Add Package

yarn add jsr:@targetd/json-schema
or (using Yarn 4.8 or older)
yarn dlx jsr add @targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";

Add Package

vlt install jsr:@targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";

Add Package

npx jsr add @targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";

Add Package

bunx jsr add @targetd/json-schema

Import symbol

import * as json_schema from "@targetd/json-schema";