Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

typescript-eslint/ts-api-utils

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,055 Commits
1,055 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 💖

About

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.