Skip to content

sedwards2009/typescript-definition-toolkit

Repository files navigation

typescript-definition-toolkit

A simple parser and library for TypeScript definition aimed at people who want to mangle and transform .d.ts files.

Features:

  • Can parse TypeScript definition files. 👍
  • Can successfully parse every *.d.ts file on DefinitelyTyped.
  • Parse result is relatively simple tree which can manually searched or modified. (See the start of TypeScriptDefinitionToolkit.ts for the interface definitions.)
  • toString() function takes a parse tree and converts it to a .d.ts text.
  • Extra functions in the toolkit allow for transformations on class and interface definitions.

About

A simple parser for TypeScript definition files for use by people who want to mangle and transform .d.ts files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published