{"id":15493478,"url":"https://github.com/sinclairzx81/typescript-amd","last_synced_at":"2025-02-26T15:44:43.207Z","repository":{"id":66035012,"uuid":"61461277","full_name":"sinclairzx81/typescript-amd","owner":"sinclairzx81","description":"An implementation of the amd specification in typescript.","archived":false,"fork":false,"pushed_at":"2016-07-13T04:14:17.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T08:06:56.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinclairzx81.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}},"created_at":"2016-06-19T02:31:36.000Z","updated_at":"2017-08-04T06:13:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"29e40c58-2846-43e5-b275-7c810b4cce9f","html_url":"https://github.com/sinclairzx81/typescript-amd","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"81e966bb25964a56e7d5d99236b3589d0d6091b5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Ftypescript-amd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Ftypescript-amd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Ftypescript-amd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinclairzx81%2Ftypescript-amd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinclairzx81","download_url":"https://codeload.github.com/sinclairzx81/typescript-amd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240887304,"owners_count":19873533,"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-10-02T08:07:04.109Z","updated_at":"2025-02-26T15:44:43.171Z","avatar_url":"https://github.com/sinclairzx81.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amd-ts\n\nAn implementation of the amd specification in typescript.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"./amd.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n\namd.ready(function() {\n  // DOM is ready\n})\n\namd.include([\"./script1.js\", \"./script2.js\"], function() {\n  // non AMD modules loaded\n})\n\namd.require([\"./app\", \"./services\"], function(app, services) { \n  // AMD modules loaded.\n})\n\n\u003c/script\u003e\n\n```\n## overview\n\namd-ts is an implementation of the [asynchronous module definition](https://github.com/amdjs/amdjs-api/blob/master/AMD.md) \nspec written in typescript. The library closely aligns with typescript AMD conventions but can be used to import\nany AMD compatible javascript module. This libraries intent is to be a simple, zero configuration AMD loader with some additional\nsupport for loading non AMD modules into the global scope for convenience.\n\namd-ts is offered as is, to be added to an existing typescript project or to be compiled and used as a out of the box AMD module loader.\n\n## building from source\n\namd-ts requires the typescript compiler. The project can be build in the following way.\n```\nnpm install typescript -g\nnode tasks build\n```\nalternatively..\n```\ntsc -p ./src/tsconfig.json --outFile ./bin/amd.js\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairzx81%2Ftypescript-amd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinclairzx81%2Ftypescript-amd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinclairzx81%2Ftypescript-amd/lists"}