{"id":23458224,"url":"https://github.com/moxio/tsd-extra-cli","last_synced_at":"2026-05-04T07:36:52.511Z","repository":{"id":46966226,"uuid":"299906836","full_name":"Moxio/tsd-extra-cli","owner":"Moxio","description":"Wrapper around tsd (TypeScript type definition checker) with extra CLI options","archived":false,"fork":false,"pushed_at":"2023-06-16T12:59:46.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-10T18:06:33.713Z","etag":null,"topics":["cli","tsd","types","typescript","typings"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Moxio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-30T12:10:24.000Z","updated_at":"2022-11-22T15:16:53.000Z","dependencies_parsed_at":"2023-01-22T07:45:11.341Z","dependency_job_id":null,"html_url":"https://github.com/Moxio/tsd-extra-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moxio%2Ftsd-extra-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moxio%2Ftsd-extra-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moxio%2Ftsd-extra-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moxio%2Ftsd-extra-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moxio","download_url":"https://codeload.github.com/Moxio/tsd-extra-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248412150,"owners_count":21099063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","tsd","types","typescript","typings"],"created_at":"2024-12-24T05:17:39.216Z","updated_at":"2026-05-04T07:36:52.482Z","avatar_url":"https://github.com/Moxio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version](https://img.shields.io/npm/v/tsd-extra-cli.svg)](https://www.npmjs.com/package/tsd-extra-cli)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/Moxio/tsd-extra-cli)\n\ntsd-extra-cli\n=============\nWrapper around [tsd](https://github.com/SamVerschueren/tsd) (TypeScript type\ndefinition checker) that offsers some [extra CLI options](#extra-cli-options).\n\nInstallation\n------------\nThis library can be installed from the NPM package registry. Using NPM:\n```sh\nnpm install --save-dev tsd-extra-cli\n```\nOr using Yarn:\n```sh\nyarn add -D tsd-extra-cli\n```\n\nUsage\n-----\nSee the documentation for [tsd](https://github.com/SamVerschueren/tsd) on\nhow to write tests for your type definitions.\n\nYou can use the `tsd-extra-cli` command as you would normally\n[use `tsd`](https://github.com/SamVerschueren/tsd#usage), i.e.\n```sh\ntsd-extra-cli [path]\n```\n\n### Extra CLI options\n\nIn addition, `tsd-extra-cli` offers the following CLI options:\n\n* `--tests-only`: Only reports errors that come from the `.test-d.ts(x)` files.\n  In addition to those, tsd normally also reports TypeScript errors in the\n  files loaded from the system under test. The `--tests-only` option discards\n  those. This can be useful in codebases where there are some known TypeScript\n  errors that haven't been fixed yet, but you still want to enforce passing\n  tsd tests.\n* `--report-checkstyle=\u003cfile\u003e`: Writes a report in checkstyle format to `\u003cfile\u003e`.\n  This can be useful to programmatically consume the results, e.g. on a CI\n  server.\n\nVersioning\n----------\nThis project adheres to [Semantic Versioning](http://semver.org/).\n\nContributing\n------------\nContributions to this project are more than welcome.\n\nLicense\n-------\nThis project is released under the MIT license.\n\nTreeware\n--------\nThis package is [Treeware](https://treeware.earth/). If you use it in production,\nthen we'd appreciate it if you [**buy the world a tree**](https://plant.treeware.earth/Moxio/tsd-extra-cli)\nto thank us for our work. By contributing to the Treeware forest you'll be creating\nemployment for local families and restoring wildlife habitats.\n\n---\nMade with love, coffee and fun by the [Moxio](https://www.moxio.com) team from\nDelft, The Netherlands. Interested in joining our awesome team? Check out our\n[vacancies](https://werkenbij.moxio.com/) (in Dutch).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoxio%2Ftsd-extra-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoxio%2Ftsd-extra-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoxio%2Ftsd-extra-cli/lists"}