{"id":23193440,"url":"https://github.com/william-versatile/typescript-project-playground-","last_synced_at":"2026-01-18T08:03:34.771Z","repository":{"id":220989562,"uuid":"752539654","full_name":"William-versatile/typescript-project-playground-","owner":"William-versatile","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-04T06:16:01.000Z","size":948,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T07:28:27.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/William-versatile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-04T06:13:29.000Z","updated_at":"2024-02-22T02:21:36.000Z","dependencies_parsed_at":"2024-02-05T16:19:04.755Z","dependency_job_id":null,"html_url":"https://github.com/William-versatile/typescript-project-playground-","commit_stats":null,"previous_names":["william-potter-exp/typescript-project-playground-","william-xfactor/typescript-project-playground-","william-versatile/typescript-project-playground-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/William-versatile/typescript-project-playground-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Ftypescript-project-playground-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Ftypescript-project-playground-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Ftypescript-project-playground-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Ftypescript-project-playground-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/William-versatile","download_url":"https://codeload.github.com/William-versatile/typescript-project-playground-/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Ftypescript-project-playground-/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28533764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-18T13:11:32.767Z","updated_at":"2026-01-18T08:03:34.752Z","avatar_url":"https://github.com/William-versatile.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Samples for Playground Plugins\n\nThis is a series of example plugins, which are extremely well documented and aim to give you samples to build from depending on what you want to build.\n\n### TS Compiler API\n\nUses [`@typescript/vfs`](https://www.npmjs.com/package/@typescript/vfs) to set up a TypeScript project in the browser, and then displays all of the top-level functions as AST nodes in the sidebar.\n\n![./samples/ts-program/screenshot/img.png](./samples/ts-program/screenshot/img.png)\n\n[Key source file](./samples/ts-program/src/index.ts).\n\n### TS Transformers Demo\n\nUses a custom TypeScript transformer when emitting JavaScript from the current file in the Playground.\n\n![./samples/transformer/screenshot/img.png](./samples/transformer/screenshot/img.png)\n\n[Key source file](./samples/transformer/src/index.ts).\n\n\n### Using a Web-ish npm Dependency\n\nUses a dependency which isn't entirely optimised for running in a web page, but doesn't have too big of a dependency tree that it this becomes an issue either.\n\n![./samples/webish-npm-dep/screenshot/img.png](./samples/webish-npm-dep/screenshot/img.png)\n\n[Rollup Config](./samples/webish-npm-dep/rollup.config.js), [Key source file](./samples/webish-npm-dep/src/index.ts).\n\n### Presenting Information Inline \n\nUsing a fraction of the extensive Monaco API (monaco is the text editor at the core of the Playground) to showcase what parts of a TypeScript file would be removed by a transpiler to make it a JS file.\n\n![./samples/monaco-highlights/screenshot/img.png](./samples/monaco-highlights/screenshot/img.png)\n\n[Key source file](./samples/monaco-highlights/src/index.ts).\n\n## Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Trademarks\n\nThis project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft \ntrademarks or logos is subject to and must follow \n[Microsoft's Trademark \u0026 Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).\nUse of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.\nAny use of third-party trademarks or logos are subject to those third-party's policies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliam-versatile%2Ftypescript-project-playground-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliam-versatile%2Ftypescript-project-playground-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliam-versatile%2Ftypescript-project-playground-/lists"}