Package detail

ts-api-utils

JoshuaKGoldberg131.9mMIT2.1.0

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. πŸ› οΈοΈ

readme

TypeScript API Utils

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. πŸ› οΈοΈ

All Contributors: 10 πŸ‘ͺ 🀝 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.

Development

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

Contributors

Many thanks to @ajafff for creating the original tsutils (original license: MIT) that this project was originally based on! πŸ™

Dan Vanderkam
Dan Vanderkam

πŸ›
Johannes Chorzempa
Johannes Chorzempa

πŸ“– πŸ’»
Josh Goldberg
Josh Goldberg

πŸ› πŸ’» πŸ“– πŸ“† ⚠️ πŸ”§ 🚧 πŸš‡ πŸ€”
Kirill Cherkashin
Kirill Cherkashin

πŸ’»
Kirk Waiblinger
Kirk Waiblinger

πŸ› πŸ’»
Klaus Meinhardt
Klaus Meinhardt

πŸ’» ⚠️
Lars Kappert
Lars Kappert

πŸ’»
Rebecca Stevens
Rebecca Stevens

πŸ› πŸ’» πŸ“– πŸ“† ⚠️ πŸ”§ πŸš‡ 🚧 πŸ€”
Ronen Amiel
Ronen Amiel

⚠️
fisker Cheung
fisker Cheung

πŸ’»

πŸ’™ This package was templated with create-typescript-app.

"My tools! I have to have my tools!" - Dennis Reynolds

changelog

1.4.3 (2024-11-29)

Bug Fixes

  • make isTypeParameter no longer a typeguard (#597) (128237f)

1.4.2 (2024-11-26)

Bug Fixes

  • remove .value field from type declarations for boolean literal types (#535) (12df298), closes #528

Performance Improvements

1.4.0 (2024-10-30)

Bug Fixes

Features

1.2.1 (2024-2-6)

Bug Fixes

1.2.0 (2024-2-5)

Bug Fixes

  • empty fix commit to test release flow (81f467a)

Features

Changelog