{"id":21074884,"url":"https://github.com/nextlevelshit/is-external-url-ssr","last_synced_at":"2026-05-19T11:33:11.264Z","repository":{"id":40773237,"uuid":"259600354","full_name":"nextlevelshit/is-external-url-ssr","owner":"nextlevelshit","description":"A simple function that tells you whether an URL is external or not even in node and ssr.","archived":false,"fork":false,"pushed_at":"2022-12-11T03:43:24.000Z","size":81,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T03:29:26.856Z","etag":null,"topics":["a","external","href","internal","node","ssr","url"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextlevelshit.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":"2020-04-28T10:08:48.000Z","updated_at":"2020-04-28T10:28:44.000Z","dependencies_parsed_at":"2023-01-26T15:00:40.510Z","dependency_job_id":null,"html_url":"https://github.com/nextlevelshit/is-external-url-ssr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nextlevelshit/is-external-url-ssr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fis-external-url-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fis-external-url-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fis-external-url-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fis-external-url-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextlevelshit","download_url":"https://codeload.github.com/nextlevelshit/is-external-url-ssr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextlevelshit%2Fis-external-url-ssr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33214334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["a","external","href","internal","node","ssr","url"],"created_at":"2024-11-19T19:18:32.046Z","updated_at":"2026-05-19T11:33:08.334Z","avatar_url":"https://github.com/nextlevelshit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eisExternal()\u003c/h1\u003e\n  \u003csup\u003eURL · Utility · external · internal · a · href\u003c/sup\u003e\n\u003c/div\u003e\n\n## Quick start\n\n1.  **Installation**\n\n    Use npm/yarn CLI to install the repository.\n\n    ```shell\n    yarn add is-url-external-ssr\n\n    # OR\n\n    npm install is-url-external-ssr\n    ```\n\n2. **Usage**\n\n    ## Usage\n    ```javascript\n    const isExternal  from \"is-url-external-ssr\"\n\n    console.log(\n      isExternal('https://github.com/mrded/is-url-external')\n        ? \"It's an external link\"\n        : \"It's an internal link width the same hostname\"\n    )\n    ```\n\n## What's inside?\n\nA quick look at the top-level files and directories you'll see in a Gatsby project.\n\n    .\n    ├── /node_modules\n    ├── index.js\n    ├── LICENSE\n    ├── package.json\n    ├── README.md\n    └── yarn.lock\n\n1.  **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.\n\n2.  **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.\n\n3.  **`index.js`**: Main piece of code and functionality.\n\n4.  **`LICENSE`**: License agreement for usage and modification of this software.\n\n5. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.\n\n6. **`README.md`**: A text file containing useful reference information about our project.\n\n7. **`yarn.lock`** (See `package.json` above, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t and shouldn't change this file manually).**\n\n## Who to ask?\n\nThis repository is maintained by [Michael Czechowski](mailto:mail@dailysh.it) in 2020. If you're having any questions, don't hesitate to write an email.\n\n## Contributions\n\nThis software is based on [Dmitry Demenchuk](https://github.com/mrded)'s software [`is-url-external`](https://github.com/mrded/is-url-external). Thanks to him!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextlevelshit%2Fis-external-url-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextlevelshit%2Fis-external-url-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextlevelshit%2Fis-external-url-ssr/lists"}