{"id":22589130,"url":"https://github.com/timothystiles/hello-ts","last_synced_at":"2026-01-20T23:02:56.852Z","repository":{"id":213977197,"uuid":"735398615","full_name":"TimothyStiles/hello-ts","owner":"TimothyStiles","description":"A demo typescript project with live updating code coverage highlighting and test on save via vscode","archived":false,"fork":false,"pushed_at":"2024-09-27T19:53:50.000Z","size":814,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T21:46:15.334Z","etag":null,"topics":["code-coverage","code-highlighter","jest","on-save","test-automation","test-driven-development","testing","typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/TimothyStiles.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-24T19:22:46.000Z","updated_at":"2024-09-27T19:53:54.000Z","dependencies_parsed_at":"2024-12-08T08:12:31.568Z","dependency_job_id":"1505cdcc-2512-4439-b7a4-64ce4c44ac4e","html_url":"https://github.com/TimothyStiles/hello-ts","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":0.3076923076923077,"last_synced_commit":"028350fa43552c5bc3ed6ffb29c092a24cb3e0a5"},"previous_names":["sudosquishlab/hello-ts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimothyStiles/hello-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fhello-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fhello-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fhello-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fhello-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyStiles","download_url":"https://codeload.github.com/TimothyStiles/hello-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyStiles%2Fhello-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28618343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T22:24:05.405Z","status":"ssl_error","status_checked_at":"2026-01-20T22:20:31.342Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["code-coverage","code-highlighter","jest","on-save","test-automation","test-driven-development","testing","typescript","vscode"],"created_at":"2024-12-08T08:12:23.197Z","updated_at":"2026-01-20T23:02:56.833Z","avatar_url":"https://github.com/TimothyStiles.png","language":"TypeScript","funding_links":["https://github.com/sponsors/TimothyStiles):"],"categories":[],"sub_categories":[],"readme":"## hello-ts\n\nhello-ts is a simple example repo to show how you can get started with test driven development in TypeScript.\n\nGo has in-line running tests, debugging, and code highlighting baked into their official vscode extension but it turns out most other languages don't have code hightlighting like this by default. This repo shows how you can get started with test driven development in TypeScript with code highlighting in vs-code.\n\n![Example screenshot of golang code from [poly](https://github.com/bebop/poly) covered by tests being highlighted green.](./screenshots/golang-gutters.png)\n\nWhen I first got started with TypeScript I was surprised to find that there wasn't a simple way to get code highlighting like this. I'm sure there are other ways to do this but this is the simplest way I found.\n \n![Example screenshot of typescript code in this repo covered by tests being highlighted green.](./screenshots/typescript-gutters.png)\n\nAll of the example code we're testing can be found in [src](./src) and comes from this article by @janis_t on twitter [article](https://www.typescriptbites.io/articles/build-test-and-publish-typescript-npm-package-2022) by [@janis_t on twitter](https://twitter.com/janis_t).\n\n\n## Install\n\nThis assumes you already have npm (or equivalent) and VScode installed\n\n```git clone https://github.com/TimothyStiles/hello-ts \u0026\u0026 cd hello-ts \u0026\u0026 npm install \u0026\u0026 code .```\n\nThen:\n\n1. Install the recommended vs-code extensions through the dialogue that should pop up when you first open the project.\n2. Close out the window\n3. Reopen the project with vs-code and extensions installed.\n4. Open `src/index.js`.\n5. Hit `command + s`\n\n Now `src/index.js` should have the code gutters like in the above screenshot.\n\n\n## Other Languages\n* [hello-rs](https://github.com/TimothyStiles/hello-rs) (rust)\n\n\n## Sponsor\n\n* **[Sponsor](https://github.com/sponsors/TimothyStiles):** 🤘 Thanks for your support 🤘\n\n\n## License\n\n* [MIT](LICENSE)\n\n* Copyright (c) 2023 Timothy Stiles\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothystiles%2Fhello-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothystiles%2Fhello-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothystiles%2Fhello-ts/lists"}