Socket
Book a DemoInstallSign in
Socket

@magiclab/ts-recursive-parser

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magiclab/ts-recursive-parser

This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.

latest
npmnpm
Version
0.0.1
Version published
Maintainers
5
Created
Source

ts-recursive-parser

This module allows you to recursively generate type definitions from a Typescript type or program. It's targeted towards other tools or styleguides which can leverage it to display complex information about their components.

This is in pre-pre-alpha stage right now, we have a proof of concept which works.

Todo

  • Expose correct APIs
  • Add unit tests
  • Document examples
  • Double check the shape of returned object, make sure they are consistent
  • Add more examples of very complex types
  • Improve the building system

To run it locally

yarn
tsc index.ts --m commonjs
yarn ts-node index.ts examples/nested-types/index.tsx

FAQs

Package last updated on 23 Sep 2019

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