{"id":15699310,"url":"https://github.com/benjamn/hermes","last_synced_at":"2025-06-17T10:05:08.815Z","repository":{"id":817251,"uuid":"528055","full_name":"benjamn/hermes","owner":"benjamn","description":"Fleet-footed, fully-sealed CommonJS module loader","archived":false,"fork":false,"pushed_at":"2010-02-21T00:12:24.000Z","size":4656,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T16:16:19.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/benjamn.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-02-20T23:58:39.000Z","updated_at":"2013-10-13T11:17:19.000Z","dependencies_parsed_at":"2022-07-05T17:02:03.514Z","dependency_job_id":null,"html_url":"https://github.com/benjamn/hermes","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/benjamn%2Fhermes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamn%2Fhermes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamn%2Fhermes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamn%2Fhermes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjamn","download_url":"https://codeload.github.com/benjamn/hermes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246330112,"owners_count":20760031,"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-03T19:40:18.201Z","updated_at":"2025-03-30T14:26:38.697Z","avatar_url":"https://github.com/benjamn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"To use loader.js, include the following \u003cscript\u003e tag in an HTML document,\nchanging the attribute values as appropriate:\n\n  \u003cscript src=\"/uri/of/loader.js\"\n          require=\"/uri/of/lib#main/module/id\"\u003e\n  \u003c/script\u003e\n\nSince loader.js is a static file, you can load it from anywhere.  The more\npeople who load it from the same place, the more likely it is to be cached\nwhen a user visits your site.  That's always nice.\n\nThe \"require\" attribute provides two pieces of information, delimited by\nthe '#' character.  The first should be a URI (absolute or relative,\nwhatever you want) pointing to the directory that contains curator.py (or\na directory containing all possible paths/to/modules.min.js that you might\nrequire).  This directory does not have to be hosted at the same domain as\nloader.js.  The second half of the attribute is the absolute ID of the\nfirst module to load.\n\nThe curator.py script is intended to serve as a dynamic handler for 404\nerrors.  When loader.js requests a file called some/module/id.min.js,\nthen, assuming this file does not exist, the web server should delegate to\ncurator.py, which will look for a file called some/module/id.js and wrap\nits contents in some boilerplate that loader.js understands.  In\nproduction, the output of curator.py should be saved as an actual file\ncalled some/module/id.min.js to avoid the overhead of script execution and\nfully exploit the web server's static file-serving optimization abilities\n(gzip, etags, cache headers, \u0026c.).  See the included .htaccess file for an\nexample of how to configure curator.py as an ErrorDocument under the\nApache webserver.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamn%2Fhermes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjamn%2Fhermes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamn%2Fhermes/lists"}