{"name":"ts-api-utils","version":"1.0.0-beta","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","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: 4\" src=\"https://img.shields.io/badge/all_contributors-4-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?token=eVIFY4MhfQ\"/>\n\t</a>\n\t<a href=\"#\" target=\"_blank\">\n\t\t<img alt=\"Documentation Coverage\" src=\"./docs/coverage.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    <img alt=\"License: MIT\" src=\"https://img.shields.io/github/license/JoshuaKGoldberg/ts-api-utils?color=21bb42\">\n    </a>\n\t<a href=\"https://github.com/sponsors/JoshuaKGoldberg\" target=\"_blank\">\n    \t<img alt=\"Sponsor: On GitHub\" src=\"https://img.shields.io/badge/sponsor-on_github-21bb42.svg\" />\n    </a>\n\t<img alt=\"Style: Prettier\" src=\"https://img.shields.io/badge/style-prettier-21bb42.svg\" />\n    <img alt=\"TypeScript: Strict\" src=\"https://img.shields.io/badge/typescript-strict-21bb42.svg\" />\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```\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=\"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></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></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://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></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 templated from [@JoshuaKGoldberg](https://github.com/JoshuaKGoldberg)'s [template-typescript-node-package](https://github.com/JoshuaKGoldberg/template-typescript-node-package).\n\n> _\"My tools! I have to have my tools!\" - Dennis Reynolds_\n","readmeFilename":"README.md","gitHead":"503f9fdae423e5e416f082e14dd0fff70f088880","bugs":{"url":"https://github.com/JoshuaKGoldberg/ts-api-utils/issues"},"homepage":"https://github.com/JoshuaKGoldberg/ts-api-utils#readme","_id":"ts-api-utils@1.0.0-beta","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-8SyxpF3or2r5NeAzvdAEAHFAonq/GjcKsk7FYuCXe9DLZyDZcxSdTLyqW0GTu07/z34XYTpZ3hIFDWcDaUUagQ==","shasum":"bb2a35e1634164e0faf090a96ef0ea99e7403f40","tarball":"http://registry-npm.ywwl.com/ts-api-utils/download/ts-api-utils-1.0.0-beta.tgz","fileCount":7,"unpackedSize":283264,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuJKcKfPKdHcfxj8HU8VfLfrykoAJEZhd/nJ1XFy/6iAiAVYyfkXnJruNwdJ0K69M/rEszrVL0JsAGSc4jBq5E2wA=="}],"size":38562,"noattachment":false,"key":"/ts-api-utils/-/ts-api-utils-1.0.0-beta.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_1.0.0-beta_1686849248961_0.7291629227789467"},"_hasShrinkwrap":false,"publish_time":1686849249225,"_cnpm_publish_time":1686849249225,"dist-tags":{"beta":"1.0.0-beta","latest":"2.5.0","rc":"3.0.0-rc.1"}}