{"id":20645983,"url":"https://github.com/jakecyr/simple-requirejs","last_synced_at":"2025-08-12T17:36:43.169Z","repository":{"id":114277988,"uuid":"140290212","full_name":"jakecyr/Simple-RequireJS","owner":"jakecyr","description":"A simplified RequireJS library to import JavaScript within each other","archived":false,"fork":false,"pushed_at":"2018-07-09T13:40:31.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T09:35:46.554Z","etag":null,"topics":["import","javascript","require","requirejs","vanilla-javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakecyr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-09T13:34:29.000Z","updated_at":"2022-01-31T01:31:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"724ff64b-616a-4c06-b768-67423942c608","html_url":"https://github.com/jakecyr/Simple-RequireJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakecyr%2FSimple-RequireJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakecyr%2FSimple-RequireJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakecyr%2FSimple-RequireJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakecyr%2FSimple-RequireJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakecyr","download_url":"https://codeload.github.com/jakecyr/Simple-RequireJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242714050,"owners_count":20173581,"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":["import","javascript","require","requirejs","vanilla-javascript"],"created_at":"2024-11-16T16:22:55.514Z","updated_at":"2025-03-09T15:57:28.930Z","avatar_url":"https://github.com/jakecyr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple-RequireJS\nA simplified RequireJS library to import JavaScript files within each other\n\n### Setup\n\nTo setup and use the Simple RequireJS library download the \"require.js\" file or clone this repo.\nAdd the following HTML tag in your main HTML file:\n\n```\n\u003cscript src=\"require.js\" data-require=\"scripts.js\"\u003e\u003c/script\u003e\n```\n\nReplacing \"scripts.js\" with the entry point to your JavaScript application and updating the path of the \"require.js\" file based on where you placed it.\n\nIn your JavaScript files, simply use:\n\n```\nrequire(\"./anotherFile.js\")\n```\n\nto include that file in the final JavaScript that is executed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakecyr%2Fsimple-requirejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakecyr%2Fsimple-requirejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakecyr%2Fsimple-requirejs/lists"}