{"id":13399454,"url":"https://github.com/requirejs/requirejs","last_synced_at":"2025-12-16T14:45:44.878Z","repository":{"id":800270,"uuid":"501326","full_name":"requirejs/requirejs","owner":"requirejs","description":"A file and module loader for JavaScript","archived":false,"fork":false,"pushed_at":"2024-07-20T22:00:22.000Z","size":14796,"stargazers_count":12953,"open_issues_count":291,"forks_count":2362,"subscribers_count":505,"default_branch":"master","last_synced_at":"2025-11-27T13:27:37.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://requirejs.org/","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/requirejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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":"2010-02-03T21:08:14.000Z","updated_at":"2025-11-24T16:47:27.000Z","dependencies_parsed_at":"2024-06-19T03:03:36.101Z","dependency_job_id":"7d188526-b663-4725-a2c7-5c7eb2daa75d","html_url":"https://github.com/requirejs/requirejs","commit_stats":{"total_commits":1248,"total_committers":114,"mean_commits":"10.947368421052632","dds":"0.16025641025641024","last_synced_commit":"898ff9e60eb6897500720151c0b488b8749fbe8d"},"previous_names":["jrburke/requirejs"],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/requirejs/requirejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requirejs%2Frequirejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requirejs%2Frequirejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requirejs%2Frequirejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requirejs%2Frequirejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/requirejs","download_url":"https://codeload.github.com/requirejs/requirejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/requirejs%2Frequirejs/sbom","scorecard":{"id":536560,"data":{"date":"2025-08-11","repo":{"name":"github.com/requirejs/requirejs","commit":"945ae6b41ef81851a030d93759bd36ac75a39958"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 8/21 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T07:08:56.095Z","repository_id":800270,"created_at":"2025-08-20T07:08:56.095Z","updated_at":"2025-08-20T07:08:56.095Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27766423,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"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-07-30T19:00:38.027Z","updated_at":"2025-12-16T14:45:44.839Z","avatar_url":"https://github.com/requirejs.png","language":"JavaScript","readme":"# RequireJS\n\nRequireJS loads plain JavaScript files as well as more defined modules. It is\noptimized for in-browser use, including in\n[a Web Worker](https://requirejs.org/docs/api.html#webworker), but it can be used\nin other JavaScript environments, like Rhino and\n[Node](https://requirejs.org/docs/node.html). It implements the\n[Asynchronous Module](https://github.com/amdjs/amdjs-api/wiki/AMD)\nAPI.\n\nRequireJS uses plain script tags to load modules/files, so it should allow for\neasy debugging. It can be used\n[simply to load existing JavaScript files](https://requirejs.org/docs/api.html#jsfiles),\nso you can add it to your existing project without having to re-write your\nJavaScript files.\n\nRequireJS includes [an optimization tool](https://requirejs.org/docs/optimization.html)\nyou can run as part of your packaging steps for deploying your code. The\noptimization tool can combine and minify your JavaScript files to allow for\nbetter performance.\n\nIf the JavaScript file defines a JavaScript module via\n[define()](https://requirejs.org/docs/api.html#define), then there are other benefits\nRequireJS can offer: [improvements over traditional CommonJS modules](https://requirejs.org/docs/commonjs.html)\nand [loading multiple versions](https://requirejs.org/docs/api.html#multiversion)\nof a module in a page. RequireJS also has a plugin system that supports features like\n[i18n string bundles](https://requirejs.org/docs/api.html#i18n), and\n[text file dependencies](https://requirejs.org/docs/api.html#text).\n\nRequireJS does not have any dependencies on a JavaScript framework.\n\nRequireJS works in IE 6+, Firefox 2+, Safari 3.2+, Chrome 3+, and Opera 10+.\n\n[Latest Release](https://requirejs.org/docs/download.html)\n\n## License\n\nMIT\n\n## Code of Conduct\n\n[jQuery Foundation Code of Conduct](https://jquery.org/conduct/).\n\n## Directories\n\n* **dist**: Scripts and assets to generate the requirejs.org docs, and for\ngenerating a require.js release.\n* **docs**: The raw HTML files for the requirejs.org docs. Only includes the\nbody of each page. Files in **dist** are used to generate a complete HTML page.\n* **tests**: Tests for require.js.\n* **testBaseUrl.js**: A file used in the tests inside **tests**. Purposely\nplaced outside the tests directory for testing paths that go outside a baseUrl.\n* **updatesubs.sh**: Updates projects that depend on require.js Assumes the\nprojects are siblings to this directory and have specific names. Useful to\ncopy require.js to dependent projects easily while in development.\n\n## Tests\n\nThis repo assumes some other repos are checked out as siblings to this repo:\n\n    git clone https://github.com/requirejs/text.git\n    git clone https://github.com/requirejs/i18n.git\n    git clone https://github.com/requirejs/domReady.git\n    git clone https://github.com/requirejs/requirejs.git\n\nSo when the above clones are done, the directory structure should look like:\n\n* domReady\n* i18n\n* text\n* requirejs (this repo)\n\nYou will need to be connected to the internet because the JSONP and\nremoteUrls tests access the internet to complete their tests.\n\nServe the directory with these 4 siblings from a web server. It can be a local web server.\n\nOpen requirejs/tests/index.html in all the browsers, click the arrow button to run all\nthe tests.\n","funding_links":[],"categories":["JavaScript","Loaders","Loaders [🔝](#readme)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequirejs%2Frequirejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frequirejs%2Frequirejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frequirejs%2Frequirejs/lists"}