{"id":18799884,"url":"https://github.com/mcnaveen/which-server","last_synced_at":"2025-10-09T05:08:25.443Z","repository":{"id":37017327,"uuid":"465146187","full_name":"mcnaveen/which-server","owner":"mcnaveen","description":"Simple utility to find which webserver is running","archived":false,"fork":false,"pushed_at":"2025-09-12T05:54:31.000Z","size":28,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T07:28:43.043Z","etag":null,"topics":["apache2","nginx","node-module","nodejs","openlitespeed","webserver"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/which-server","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/mcnaveen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":"mcnaveen","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.buymeacoffee.com/mcnaveen"}},"created_at":"2022-03-02T03:42:42.000Z","updated_at":"2025-03-16T17:55:32.000Z","dependencies_parsed_at":"2024-05-09T00:29:13.396Z","dependency_job_id":"7e951d11-780e-4248-be83-dcc397196f6d","html_url":"https://github.com/mcnaveen/which-server","commit_stats":{"total_commits":8,"total_committers":3,"mean_commits":"2.6666666666666665","dds":0.5,"last_synced_commit":"ac74ce8c70d9c6038fa916ad69279f0464e5c25a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcnaveen/which-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fwhich-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fwhich-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fwhich-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fwhich-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcnaveen","download_url":"https://codeload.github.com/mcnaveen/which-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fwhich-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000741,"owners_count":26082933,"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-10-09T02:00:07.460Z","response_time":59,"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":["apache2","nginx","node-module","nodejs","openlitespeed","webserver"],"created_at":"2024-11-07T22:16:57.559Z","updated_at":"2025-10-09T05:08:25.412Z","avatar_url":"https://github.com/mcnaveen.png","language":"JavaScript","funding_links":["https://patreon.com/mcnaveen","https://www.buymeacoffee.com/mcnaveen"],"categories":[],"sub_categories":[],"readme":"# Which Web Server is running?\n:unicorn: Simple utility to find which webserver is running.\n\n![Build](https://github.com/mcnaveen/which-server/workflows/Build/badge.svg)\n\n### :package: Requirements\n- Node.js 12X LTS or 14X LTS 📦\n\n### :sparkles: Installation\n\n- Install the NPM Package with the below command:\n```\nnpm install which-server --save\n``` \n\n (or)\n\n- Install with Yarn:\n```\nyarn add which-server\n```\n\n### :pen: Usage\n\n- Import the module in your project:\n\n```javascript\nimport getServerName from \"which-server\";\n```\n\n### :bulb: Example\n\n- Import the module in your project\n- Pass the URL of the website to get the server name\n- Make sure to use Async/Await function\n\n```javascript\nimport getServerName from \"which-server\";\n\nasync function getdata(){\n    let url = \"https://google.com\";\n    const data = await getServerName(url);\n    console.log(\"This website uses: \" + data);\n}\n\ngetdata();\n```\n\n### :ballot_box_with_check: Example Output\n```\nThis website uses: gws\n```\n---\n\n\n#### :green_heart: Message\n\nI hope you find this useful. If you have any questions, please create an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fwhich-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcnaveen%2Fwhich-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fwhich-server/lists"}