{"id":22377822,"url":"https://github.com/arulkumar-lab/amd-javascript-example","last_synced_at":"2026-04-27T12:02:39.970Z","repository":{"id":40822224,"uuid":"274385213","full_name":"arulkumar-lab/amd-javascript-example","owner":"arulkumar-lab","description":"AMD module using gulp task / direct loading to HTML","archived":false,"fork":false,"pushed_at":"2022-12-06T10:03:38.000Z","size":441,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T18:24:19.126Z","etag":null,"topics":["amd","amd-module","amdoptimize","jquery","requirejs"],"latest_commit_sha":null,"homepage":null,"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/arulkumar-lab.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-06-23T11:13:47.000Z","updated_at":"2020-06-23T13:28:58.000Z","dependencies_parsed_at":"2023-01-23T16:31:31.688Z","dependency_job_id":null,"html_url":"https://github.com/arulkumar-lab/amd-javascript-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arulkumar-lab/amd-javascript-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arulkumar-lab%2Famd-javascript-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arulkumar-lab%2Famd-javascript-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arulkumar-lab%2Famd-javascript-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arulkumar-lab%2Famd-javascript-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arulkumar-lab","download_url":"https://codeload.github.com/arulkumar-lab/amd-javascript-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arulkumar-lab%2Famd-javascript-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["amd","amd-module","amdoptimize","jquery","requirejs"],"created_at":"2024-12-04T22:15:41.129Z","updated_at":"2026-04-27T12:02:39.951Z","avatar_url":"https://github.com/arulkumar-lab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amd-javascript-example\n\u003ch2\u003eAMD module with requireJS / jquery using gulp task and direct loading to HTML\u003c/h2\u003e\n\n```npm install```\n\n\u003cblockquote\u003e\nWindows CLI to bundle the dist folder\n\n```r.js.cmd -o build.js```\n\u003c/blockquote\u003e\n\n\u003cblockquote\u003e\nBundle the dist folder\n\n```r.js -o build.js```\n\u003c/blockquote\u003e\n\nLoad global compressed file (i.e index.html)\n\n```\u003cscript data-main=\"../dist/scripts/global\" src=\"lib/require.js\"\u003e\u003c/script\u003e```\n\nLoad direct JS module (i.e index.html)\n\n```\u003cscript data-main=\"./scripts/config\" src=\"lib/require.js\"\u003e\u003c/script\u003e```\n\n*Note: To enable debugging add \u003cstrong\u003edebugger;\u003c/strong\u003e or un-comment \u003cstrong\u003e//debugger;\u003c/strong\u003e from app.js.  \n\nReference:\nhttps://requirejs.org/docs/optimization.html\n\n![image](https://user-images.githubusercontent.com/56085499/85409178-66d45980-b55d-11ea-8fb0-a0b4164e7f8c.png)\n\n\n![image](https://user-images.githubusercontent.com/56085499/85409460-bc106b00-b55d-11ea-8bcf-c6e9785355b5.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farulkumar-lab%2Famd-javascript-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farulkumar-lab%2Famd-javascript-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farulkumar-lab%2Famd-javascript-example/lists"}