@magiclab/ts-recursive-parser

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @magiclab/ts-recursive-parser

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

14.4 kB

Total Files

8

Last publish

Collaborators

  • gandhi_rahul
  • winner95
  • miloss
  • granovsky
  • langolf
  • bumble-core-services