Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/JoshuaKGoldberg/ts-api-utils

Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️
https://github.com/JoshuaKGoldberg/ts-api-utils

abstract-syntax-trees tsutils typescript typescript-api

Last synced: 4 months ago
JSON representation

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

Lists

README

        

TypeScript API Utils


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


All Contributors: 6 👪



Codecov Test Coverage


Contributor Covenant


License: MIT


Sponsor: On GitHub

Style: Prettier
TypeScript: Strict
npm package version

## Usage

```shell
npm i ts-api-utils
```

```ts
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](https://joshuakgoldberg.github.io/ts-api-utils).

## Development

See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md).
Thanks! 💖

## Contributors

Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! 🙏



Dan Vanderkam
Dan Vanderkam

🐛
Johannes Chorzempa
Johannes Chorzempa

📖 💻
Josh Goldberg
Josh Goldberg

🐛 💻 📖 📆 ⚠️ 🔧 🚧 🚇 🤔
Kirill Cherkashin
Kirill Cherkashin

💻
Klaus Meinhardt
Klaus Meinhardt

💻 ⚠️
Rebecca Stevens
Rebecca Stevens

🐛 💻 📖 📆 ⚠️ 🔧 🚇 🚧 🤔

> 💙 This package is based on [@JoshuaKGoldberg](https://github.com/JoshuaKGoldberg)'s [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app).

> _"My tools! I have to have my tools!" - Dennis Reynolds_