{"id":15489576,"url":"https://github.com/pablopunk/import-url","last_synced_at":"2025-07-22T15:08:43.996Z","repository":{"id":57354336,"uuid":"95157585","full_name":"pablopunk/import-url","owner":"pablopunk","description":"Require node modules from a URL","archived":false,"fork":false,"pushed_at":"2017-08-08T15:16:34.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T09:03:26.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/import-url","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/pablopunk.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":"2017-06-22T21:21:21.000Z","updated_at":"2017-08-08T15:05:27.000Z","dependencies_parsed_at":"2022-09-26T20:21:05.953Z","dependency_job_id":null,"html_url":"https://github.com/pablopunk/import-url","commit_stats":null,"previous_names":["pablopunk/require-remote"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pablopunk/import-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fimport-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fimport-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fimport-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fimport-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablopunk","download_url":"https://codeload.github.com/pablopunk/import-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablopunk%2Fimport-url/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266516304,"owners_count":23941392,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-10-02T07:06:29.750Z","updated_at":"2025-07-22T15:08:43.955Z","avatar_url":"https://github.com/pablopunk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# import-url\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eRequire modules from any URL\u003c/i\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/import-url\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/import-url.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Install\n\n```bash\nnpm install import-url\n```\n\n## Usage\n\n```js\nconst foo = await require('import-url')('module.now.sh')\nconsole.log(foo()) //=\u003e 'awesome!'\n```\n\nRight now it doesn't support modules requiring other modules. So if your remote module does a `require()` it will fail.\n\n## Contribute\n\nFeel free to open an _issue_ or a _PR_.\n\n\n## License\n\n[__MIT license__](license)\n\n## Related\n\nThis module used to be named `require-remote` and still still available [on npm](https://www.npmjs.com/package/require-remote).\n\n## Author\n\n| ![me](https://www.gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?s=100) |\n| ----------------------------------------------------------------------------- |\n| © 2017 [Pablo Varela](http://pablo.life)                                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Fimport-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablopunk%2Fimport-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablopunk%2Fimport-url/lists"}