{"id":18483286,"url":"https://github.com/cloudcmd/loadremote","last_synced_at":"2026-03-08T16:32:40.985Z","repository":{"id":34865305,"uuid":"38867077","full_name":"cloudcmd/loadremote","owner":"cloudcmd","description":"library for loading modules from cdn or local file system","archived":false,"fork":false,"pushed_at":"2016-10-25T09:39:52.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-11T17:41:31.194Z","etag":null,"topics":["cdn","cloudcmd","file","load","remote"],"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/cloudcmd.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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":"2015-07-10T07:24:33.000Z","updated_at":"2018-10-18T09:52:43.000Z","dependencies_parsed_at":"2022-08-03T23:00:37.134Z","dependency_job_id":null,"html_url":"https://github.com/cloudcmd/loadremote","commit_stats":null,"previous_names":["cloudcmd/load-remote"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Floadremote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Floadremote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Floadremote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Floadremote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudcmd","download_url":"https://codeload.github.com/cloudcmd/loadremote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254020805,"owners_count":22000782,"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":["cdn","cloudcmd","file","load","remote"],"created_at":"2024-11-06T12:35:05.438Z","updated_at":"2025-12-12T03:33:16.463Z","avatar_url":"https://github.com/cloudcmd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Load Remote\n\nLibrary for loading modules from cdn or local file system.\n\n## Install\n\n```\nbower i loadremote --save\n```\n\n## How to use?\n\nYou should create files `modules.json` similar to this:\n\n```json\n[{\n    \"name\": \"socket\",\n    \"version\": \"1.3.5\",\n    \"local\": \"/socket.io/socket.io.js\",\n    \"remote\": \"//cdn.socket.io/socket.io-{{ version }}.js\"\n}]\n```\n\nAnd `options.js`:\n\n```json\n{\n    \"online\": true\n}\n```\n\nThen load [execon](https://github.com/coderaiser/execon \"Execon\") and `lib/load-remote.js`\nand run this code:\n\n```js\nloadRemote('socket', {  /* name of module in modules.json */\n    name : 'io',    {   /* name of variable in window object */\n    prefix: prefix,     /* prefix for loading modules.json and options.json (could be empty) */\n    noPrefix: true      /* do not add prefix to socket local url */\n}, callback);\n```\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudcmd%2Floadremote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudcmd%2Floadremote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudcmd%2Floadremote/lists"}