{"id":23120497,"url":"https://github.com/typescriptlibs/amd","last_synced_at":"2025-04-04T03:15:45.464Z","repository":{"id":86005019,"uuid":"606648148","full_name":"typescriptlibs/amd","owner":"typescriptlibs","description":"TypeScript AMD Loader","archived":false,"fork":false,"pushed_at":"2024-04-20T09:10:08.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-11T01:08:13.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://typescriptlibs.org/amd/","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/typescriptlibs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-26T05:44:01.000Z","updated_at":"2024-04-20T09:10:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1cc323e-cae7-43ff-bd96-d5acae44d852","html_url":"https://github.com/typescriptlibs/amd","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"0a7cdbe33320294389644fb4283678d80597b173"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typescriptlibs%2Famd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typescriptlibs%2Famd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typescriptlibs%2Famd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typescriptlibs%2Famd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typescriptlibs","download_url":"https://codeload.github.com/typescriptlibs/amd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112767,"owners_count":20885606,"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":[],"created_at":"2024-12-17T06:11:21.635Z","updated_at":"2025-04-04T03:15:45.441Z","avatar_url":"https://github.com/typescriptlibs.png","language":"TypeScript","readme":"AMD: TypeScript AMD Loader\n==========================\n\nThis package provides the necessary functions to load and run a TypeScript AMD\nbundle as created by the `outFile` option of a `tsconfig.json`.\n\nIt does not support loading of external files. Each external dependency must\nalso be created as a TypeScript AMD bundle instead.\n\n\n\n[![CodeQL](https://github.com/typescriptlibs/amd/workflows/CodeQL/badge.svg)](https://github.com/typescriptlibs/amd/actions/workflows/codeql.yml)\n[![Node.js](https://github.com/typescriptlibs/amd/workflows/Node.js/badge.svg)](https://github.com/typescriptlibs/amd/actions/workflows/node.js.yml)\n[![npm](https://img.shields.io/npm/v/@typescriptlibs/amd.svg)](https://www.npmjs.com/package/@typescriptlibs/amd)\n[![license](https://img.shields.io/npm/l/@typescriptlibs/amd.svg)](https://github.com/typescriptlibs/amd/blob/main/LICENSE.md)\n\n\n\nExample\n-------\n\n``` TypeScript\n// MyBundle.ts\nexport function hello () {\n    alert( 'Hello, world!' );\n}\n```\n\n``` HTML\n\u003c!-- my-app.html --\u003e\n\u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        \u003cscript src=\"amd.js\"\u003e\u003c/script\u003e\n        \u003cscript src=\"my-ts-amd-bundle.js\" async\u003e\u003c/script\u003e\n        \u003cscript\u003e\n            window.addEventListener( 'load', () =\u003e require('MyBundle').hello() );\n        \u003c/script\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypescriptlibs%2Famd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypescriptlibs%2Famd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypescriptlibs%2Famd/lists"}