Socket
Socket
Sign inDemoInstall

schema-dts

Package Overview
Dependencies
1
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    schema-dts

A TypeScript package with latest Schema.Org Schema Typings


Version published
Weekly downloads
324K
increased by3.87%
Maintainers
1
Install size
446 kB
Created
Weekly downloads
 

Readme

Source

schema-dts

TypeScript Typings & .tsd Generation for Schema.org

Schema DTS provides a set of TypeScript typings for schema.org schema. The typings are exposed as complete sets of discriminated type unions, allowing for easy completions and stricter validation.

This repository contains generate-schema-dts, the Node.js-based script that generates the schema-dts package.

Usage

To use the typings for your project, simply add the schema-dts NPM package to your project:

npm install schema-dts

Manually using the Schema Typings generator

npm install schema-dts-gen
npx schema-dts-gen --schema=3.4

Developers

Use NPM to install dependencies:

npm install

Use Gulp to build the package:

gulp generate-ts

or simply build the schema-dts generator:

gulp build-generator

To contribute changes, see the CONTRIBUTING.md file.

Keywords

FAQs

Last updated on 05 Dec 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc