{"name":"ts-api-utils","version":"0.2.0","description":"Utility functions for working with TypeScript's API. Successor to the wonderful tsutils.","repository":{"type":"git","url":"git+https://github.com/JoshuaKGoldberg/ts-api-utils.git"},"license":"MIT","author":{"name":"Josh Goldberg","email":"npm@joshuakgoldberg.com"},"type":"module","exports":{".":{"types":{"import":"./lib/index.d.ts","require":"./lib/index.d.cts"},"import":"./lib/index.js","require":"./lib/index.cjs"}},"main":"./lib/index.js","scripts":{"build":"tsup src/index.ts --clean --format cjs,esm --outDir lib --dts && cp lib/index.d.ts lib/index.d.cts","docs":"typedoc","docs:serve":"http-serve docs/generated","format":"prettier \"**/*\" --ignore-unknown","format:write":"pnpm format --write","lint":"eslint . --max-warnings 0 --report-unused-disable-directives","lint:docs":"typedoc --validation --treatValidationWarningsAsErrors","lint:knip":"knip --config knip.jsonc","lint:knip:production":"knip --config knip.production.jsonc --production","lint:md":"markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line","lint:package":"npmPkgJsonLint .","lint:packages":"pnpm-deduplicate --list","lint:spelling":"cspell \"**\" \".github/**/*\"","prepare":"husky install","should-semantic-release":"should-semantic-release --verbose","test":"vitest","type-check":"tsc --noEmit"},"lint-staged":{"*":"prettier --ignore-unknown --write"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.48.2","@typescript/vfs":"^1.4.0","@vitest/coverage-istanbul":"^0.32.0","cspell":"^6.19.2","eslint":"^8.32.0","eslint-config-prettier":"^8.6.0","eslint-plugin-deprecation":"^1.3.3","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jsdoc":"^41.0.0","eslint-plugin-jsonc":"^2.6.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-regexp":"^1.12.0","eslint-plugin-simple-import-sort":"^10.0.0","eslint-plugin-typescript-sort-keys":"^2.1.0","eslint-plugin-unicorn":"^46.0.0","eslint-plugin-vitest":"^0.2.0","http-serve":"^1.0.1","husky":"^8.0.3","jsonc-eslint-parser":"^2.1.0","knip":"^2.0.0","lint-staged":"^13.1.0","markdownlint":"^0.29.0","markdownlint-cli":"^0.34.0","npm-package-json-lint":"^6.4.0","npm-package-json-lint-config-default":"^5.0.0","pnpm-deduplicate":"^0.4.1","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","release-it":"^15.6.0","sentences-per-line":"^0.2.1","should-semantic-release":"^0.1.0","tsup":"^6.5.0","typedoc":"^0.24.0","typedoc-plugin-coverage":"^2.0.0","typedoc-plugin-custom-validation":"^1.1.0","typedoc-plugin-konamimojisplosion":"^0.0.2","typedoc-plugin-mdn-links":"^3.0.0","typedoc-plugin-versions":"^0.2.3","typescript":"^5.0.2","vitest":"^0.32.0"},"peerDependencies":{"typescript":">=4.2.0"},"packageManager":"pnpm@7.33.1","engines":{"node":">=16.13.0"},"types":"./lib/index.d.ts","gitHead":"279f843985fb75fb938eaf98d27dcdcb8a612a2c","bugs":{"url":"https://github.com/JoshuaKGoldberg/ts-api-utils/issues"},"homepage":"https://github.com/JoshuaKGoldberg/ts-api-utils#readme","_id":"ts-api-utils@0.2.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-y2FrbOFgfysH8BaNPF08PSeyYiZcKIb8gqv7up7bOMUy1Zk24iRm4KJAOmgDEH3VzrGYfPZWHMSElK2aZavfRA==","shasum":"1288a3bb46c852434ba2b2db43ec9a4798f4782d","tarball":"http://registry-npm.ywwl.com/ts-api-utils/download/ts-api-utils-0.2.0.tgz","fileCount":7,"unpackedSize":283259,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJDGyUyn+hJWpZ2amVvgs00nyHxHs3P7b8EFD9d1SSdAiEAifCzvFR+2FZm5B8Au30IBMzsU3UhZQTieHZcRKqrVg4="}],"size":38559,"noattachment":false,"key":"/ts-api-utils/-/ts-api-utils-0.2.0.tgz"},"_npmUser":{"name":"joshuakgoldberg","email":"npm@joshuakgoldberg.com"},"directories":{},"maintainers":[{"name":"joshuakgoldberg","email":"npm@joshuakgoldberg.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-api-utils_0.2.0_1686848877813_0.3026286401435798"},"_hasShrinkwrap":false,"readme":"<h1 align=\"center\">TypeScript API Utils</h1>\n\n<p align=\"center\">\n\tUtility functions for working with TypeScript's API.\n\tSuccessor to the wonderful <a href=\"https://github.com/ajafff/tsutils\">tsutils</a>. 🛠️️\n</p>\n\n<p align=\"center\">\n\t<a href=\"#contributors\" target=\"_blank\">\n<!-- prettier-ignore-start -->\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<img alt=\"All Contributors: 6 👪\" src=\"https://img.shields.io/badge/all_contributors-6_👪-21bb42.svg\" />\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n<!-- prettier-ignore-end -->\n\t</a>\n\t<a href=\"https://codecov.io/gh/JoshuaKGoldberg/ts-api-utils\" target=\"_blank\">\n\t\t<img alt=\"Codecov Test Coverage\" src=\"https://codecov.io/gh/JoshuaKGoldberg/ts-api-utils/branch/main/graph/badge.svg\"/>\n\t</a>\n\t<a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/.github/CODE_OF_CONDUCT.md\" target=\"_blank\">\n\t\t<img alt=\"Contributor Covenant\" src=\"https://img.shields.io/badge/code_of_conduct-enforced-21bb42\" />\n\t</a>\n\t<a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/LICENSE.md\" target=\"_blank\">\n\t\t<img alt=\"License: MIT\" src=\"https://img.shields.io/github/license/JoshuaKGoldberg/ts-api-utils?color=21bb42\">\n\t</a>\n\t<a href=\"https://github.com/sponsors/JoshuaKGoldberg\" target=\"_blank\">\n\t\t<img alt=\"Sponsor: On GitHub\" src=\"https://img.shields.io/badge/sponsor-on_github-21bb42.svg\" />\n\t</a>\n\t<img alt=\"Style: Prettier\" src=\"https://img.shields.io/badge/style-prettier-21bb42.svg\" />\n\t<img alt=\"TypeScript: Strict\" src=\"https://img.shields.io/badge/typescript-strict-21bb42.svg\" />\n\t<img alt=\"npm package version\" src=\"https://img.shields.io/npm/v/ts-api-utils?color=21bb42\" />\n</p>\n\n## Usage\n\n```shell\nnpm i ts-api-utils\n```\n\n```ts\nimport * as tsutils from \"ts-api-utils\";\n\ntsutils.forEachToken(/* ... */);\n```\n\n### API\n\n`ts-api-utils` provides many utility functions.\nCheck out our API docs for details:\n\n📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils).\n\n## Development\n\nSee [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md).\nThanks! 💖\n\n## Contributors\n\nMany 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! 🙏\n\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<!-- spellchecker: disable -->\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://effectivetypescript.com\"><img src=\"https://avatars.githubusercontent.com/u/98301?v=4?s=100\" width=\"100px;\" alt=\"Dan Vanderkam\"/><br /><sub><b>Dan Vanderkam</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3Adanvk\" title=\"Bug reports\">🐛</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://blog.jmchor.dev\"><img src=\"https://avatars.githubusercontent.com/u/110151013?v=4?s=100\" width=\"100px;\" alt=\"Johannes Chorzempa\"/><br /><sub><b>Johannes Chorzempa</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor\" title=\"Documentation\">📖</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor\" title=\"Code\">💻</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://www.joshuakgoldberg.com\"><img src=\"https://avatars.githubusercontent.com/u/3335181?v=4?s=100\" width=\"100px;\" alt=\"Josh Goldberg\"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3AJoshuaKGoldberg\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg\" title=\"Code\">💻</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg\" title=\"Documentation\">📖</a> <a href=\"#projectManagement-JoshuaKGoldberg\" title=\"Project Management\">📆</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg\" title=\"Tests\">⚠️</a> <a href=\"#tool-JoshuaKGoldberg\" title=\"Tools\">🔧</a> <a href=\"#maintenance-JoshuaKGoldberg\" title=\"Maintenance\">🚧</a> <a href=\"#infra-JoshuaKGoldberg\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#ideas-JoshuaKGoldberg\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://twitter.com/kirjs\"><img src=\"https://avatars.githubusercontent.com/u/2545357?v=4?s=100\" width=\"100px;\" alt=\"Kirill Cherkashin\"/><br /><sub><b>Kirill Cherkashin</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=kirjs\" title=\"Code\">💻</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/ajafff\"><img src=\"https://avatars.githubusercontent.com/u/11968040?v=4?s=100\" width=\"100px;\" alt=\"Klaus Meinhardt\"/><br /><sub><b>Klaus Meinhardt</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff\" title=\"Code\">💻</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff\" title=\"Tests\">⚠️</a></td>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/RebeccaStevens\"><img src=\"https://avatars.githubusercontent.com/u/7224206?v=4?s=100\" width=\"100px;\" alt=\"Rebecca Stevens\"/><br /><sub><b>Rebecca Stevens</b></sub></a><br /><a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3ARebeccaStevens\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens\" title=\"Code\">💻</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens\" title=\"Documentation\">📖</a> <a href=\"#projectManagement-RebeccaStevens\" title=\"Project Management\">📆</a> <a href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens\" title=\"Tests\">⚠️</a> <a href=\"#tool-RebeccaStevens\" title=\"Tools\">🔧</a> <a href=\"#infra-RebeccaStevens\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-RebeccaStevens\" title=\"Maintenance\">🚧</a> <a href=\"#ideas-RebeccaStevens\" title=\"Ideas, Planning, & Feedback\">🤔</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n<!-- spellchecker: enable -->\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n> 💙 This package is based on [@JoshuaKGoldberg](https://github.com/JoshuaKGoldberg)'s [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app).\n\n> _\"My tools! I have to have my tools!\" - Dennis Reynolds_\n","publish_time":1686848878031,"_cnpm_publish_time":1686848878031,"dist-tags":{"beta":"1.0.0-beta","latest":"2.5.0","rc":"3.0.0-rc.1"}}