🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

typescript-to-json-schema-extra

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-to-json-schema-extra

Some extra features for typescript-to-json-schema

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
25
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

typescript-to-json-schema-extra

Provides some extras for typescript-to-json-schema.

  • Generate schemas for all types: SchemaGenerator.createSchemas(filter: (fileName: string) => boolean): Map<Schema>.
  • Create a program from a list of files: ExtConfig.paths.
  • Provide custom compiler options for a program: createProgram(config: Config, options?: ts.CompilerOptions): ts.Program.
  • Treat line comments // the same as jsDoc comments /** */: ExtConfig.lineComment.
  • Add the filename property to the schema pointing to the ts source code.

Keywords

ts

FAQs

Package last updated on 03 Jan 2018

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