JSPM

  • Created
  • Published
  • Downloads 113592233
  • Score
    100M100P100Q233934F
  • License MIT

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. ๐Ÿ› ๏ธ๏ธ

Package Exports

  • ts-api-utils
  • ts-api-utils/package.json

Readme

TypeScript API Utils

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. ๐Ÿ› ๏ธ๏ธ

๐Ÿค Code of Conduct: Kept ๐Ÿงช Coverage ๐Ÿ“š Documentation Coverage ๐Ÿ“ License: MIT ๐Ÿ“ฆ npm version ๐Ÿ’ช TypeScript: Strict

Usage

npm i ts-api-utils
import * as tsutils from "ts-api-utils";

tsutils.forEachToken(/* ... */);

API

ts-api-utils provides many utility functions. Check out our API docs for details:

๐Ÿ“ ts-api-utils API docs.

Supported Versions

ts-api-utils supports TypeScript versions 5.5.2 and above and Node versions 20.19.0 and above.

Note: ts-api-utils will not work with the TypeScript Native Preview (TypeScript 7) for the foreseeable future, due to unknowns around the future of the TypeScript Native API.
See their list of What Works So Far? for details.

Development

See .github/CONTRIBUTING.md. Thanks! ๐Ÿ’–