{"id":25629844,"url":"https://github.com/fritzh321/logo-scrape","last_synced_at":"2026-02-02T02:35:23.362Z","repository":{"id":34280556,"uuid":"174316437","full_name":"fritzh321/logo-scrape","owner":"fritzh321","description":"🕷🚀 Scrapes/Crawls the logo from a provided url(s)/website for your Node.js applications.","archived":false,"fork":false,"pushed_at":"2023-03-02T20:18:58.000Z","size":542,"stargazers_count":49,"open_issues_count":9,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T01:57:34.318Z","etag":null,"topics":["crawler","fetch","logo","nodejs","scrape","website"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fritzh321.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-03-07T09:46:20.000Z","updated_at":"2025-08-10T16:54:26.000Z","dependencies_parsed_at":"2024-06-18T21:35:34.124Z","dependency_job_id":"b22226c6-61b6-42d5-8966-29184c19b2e8","html_url":"https://github.com/fritzh321/logo-scrape","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/fritzh321/logo-scrape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritzh321%2Flogo-scrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritzh321%2Flogo-scrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritzh321%2Flogo-scrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritzh321%2Flogo-scrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fritzh321","download_url":"https://codeload.github.com/fritzh321/logo-scrape/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritzh321%2Flogo-scrape/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29001655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"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":["crawler","fetch","logo","nodejs","scrape","website"],"created_at":"2025-02-22T19:17:44.421Z","updated_at":"2026-02-02T02:35:23.347Z","avatar_url":"https://github.com/fritzh321.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\r\n    \u003cimg height=\"150\" src=\"http://fr1tz.be/scraper.svg\" alt=\"Logo Scrape\" /\u003e\r\n    \u003cbr\u003e Logo Scrape\r\n\u003c/h1\u003e\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://travis-ci.org/fritzh321/logo-scrape\"\u003e\r\n\t\t\u003cimg src=\"https://img.shields.io/travis/fritzh321/logo-scrape/master.svg?style=flat-square\" alt=\"Build Status\"\u003e\r\n\t\u003c/a\u003e\r\n  \u003ca href=\"https://www.npmjs.com/package/logo-scrape\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/npm/v/logo-scrape.svg?style=flat-square\" /\u003e\r\n  \u003c/a\u003e\r\n\t\u003ca href=\"https://github.com/fritzh321/logo-scrape\"\u003e\r\n\t\t\u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\" alt=\"Software License\"\u003e\r\n\t\u003c/a\u003e\r\n\t\u003ca href=\"https://npm.runkit.com/logo-scrape\"\u003e\r\n    \t\u003cimg src=\"https://badge.runkitcdn.com/logo-scrape.svg\" alt=\"Try logo-scrape on RunKit\"/\u003e\r\n    \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\u003ccode\u003eLogoScrape\u003c/code\u003e scrapes the logo from a provided url(s) for your Node.js applications.\u003c/p\u003e\r\n\u003cp align=\"center\"\u003eCheckout the \u003ca href=\"https://runkit.com/embed/h566z62zd1qx\"\u003edemo\u003c/a\u003e to see it in action!\u003c/p\u003e\r\n\r\n## Table of Contents\r\n\r\n\u003cdetails\u003e\u003csummary\u003eClick to expand\u003c/summary\u003e\r\n\r\n- [Installation](#installation)\r\n- [Import](#import)\r\n- [Usage](#usage)\r\n- [API](#api)\r\n- [Demo](#demo)\r\n- [License](#license)\r\n\r\n\u003c/details\u003e\r\n\r\n## Installation\r\n```bash\r\n$ npm i logo-scrape\r\n```\r\n## Import\r\n### NodeJS\r\n```js\r\nconst { LogoScrape } = require('logo-scrape');\r\n```\r\n\r\n### TypeScript\r\n```ts\r\nimport { LogoScrape } from 'logo-scrape';\r\n```\r\n## Usage\r\n `getLogo()` or `getLogos()` accepts a url(s) and returns the output for the provided url(s)\r\n \r\n```js\r\n(async () =\u003e {\r\n    const url = 'http://techcrunch.com';\r\n    const logo = await LogoScrape.getLogo(url);\r\n    const logos = await LogoScrape.getLogos(url);\r\n    console.log({logo, logos});\r\n    \r\n    const urls = ['http://techcrunch.com' , 'http://producthunt.com'];\r\n    const logoUrls = await LogoScrape.getLogo(urls);\r\n    const logosUrls = await LogoScrape.getLogos(urls);\r\n    console.log({logoUrls, logosUrls});\r\n})();\r\n```\r\n\r\n\r\n\r\nWill output below result;\r\n\r\n```json\r\n{\r\n  \"logo\": {\r\n    \"type\": \"link-rel/icon\",\r\n    \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=32\",\r\n    \"size\": \"32x32\"\r\n  },\r\n  \"logos\": [\r\n    {\r\n      \"type\": \"link-rel/icon\",\r\n      \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=32\",\r\n      \"size\": \"32x32\"\r\n    },\r\n    {\r\n      \"type\": \"link-rel/icon\",\r\n      \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=192\",\r\n      \"size\": \"192x192\"\r\n    },\r\n    {\r\n      \"type\": \"link-rel/icon\",\r\n      \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=180\"\r\n    },\r\n    {\r\n      \"type\": \"meta-name/msapplication-TileImage\",\r\n      \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=270\"\r\n    },\r\n    {\r\n      \"type\": \"og:image\",\r\n      \"url\": \"https://techcrunch.com/wp-content/themes/techcrunch-2017/images/opengraph-default.png\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nAnd for multiple url's\r\n\r\n```json\r\n{\r\n  \"logoUrls\": [\r\n    {\r\n      \"type\": \"link-rel/icon\",\r\n      \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=32\",\r\n      \"size\": \"32x32\"\r\n    },\r\n    {\r\n      \"type\": \"link-rel/icon\",\r\n      \"url\": \"https://assets.producthunt.com/assets/ph-ios-icon-e1733530a1bfc41080db8161823f1ef262cdbbc933800c0a2a706f70eb9c277a.png\"\r\n    }\r\n  ],\r\n  \"logosUrls\": [\r\n    [\r\n      {\r\n        \"type\": \"link-rel/icon\",\r\n        \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=32\",\r\n        \"size\": \"32x32\"\r\n      },\r\n      {\r\n        \"type\": \"link-rel/icon\",\r\n        \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=192\",\r\n        \"size\": \"192x192\"\r\n      },\r\n      {\r\n        \"type\": \"link-rel/icon\",\r\n        \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=180\"\r\n      },\r\n      {\r\n        \"type\": \"meta-name/msapplication-TileImage\",\r\n        \"url\": \"https://techcrunch.com/wp-content/uploads/2015/02/cropped-cropped-favicon-gradient.png?w=270\"\r\n      },\r\n      {\r\n        \"type\": \"og:image\",\r\n        \"url\": \"https://techcrunch.com/wp-content/themes/techcrunch-2017/images/opengraph-default.png\"\r\n      }\r\n    ],\r\n    [\r\n      {\r\n        \"type\": \"link-rel/icon\",\r\n        \"url\": \"https://assets.producthunt.com/assets/ph-ios-icon-e1733530a1bfc41080db8161823f1ef262cdbbc933800c0a2a706f70eb9c277a.png\"\r\n      },\r\n      {\r\n        \"type\": \"link-rel/icon\",\r\n        \"url\": \"https://www.producthunt.com/favicon.ico\"\r\n      },\r\n      {\r\n        \"type\": \"og:image\",\r\n        \"url\": \"https://www.producthunt.comhttps://api.url2png.com/v6/P5329C1FA0ECB6/790272390317dc724643b1ca88f5da6e/png/?url=https%3A%2F%2Fwww.producthunt.com%2F\"\r\n      },\r\n      {\r\n        \"type\": \"svg:image\",\r\n        \"data\": true,\r\n        \"url\": \"data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M40%2020c0%2011.046-8.954%2020-20%2020S0%2031.046%200%2020%208.954%200%2020%200s20%208.954%2020%2020%22%20fill%3D%22%23DA552F%22%2F%3E%3Cpath%20d%3D%22M22.667%2020H17v-6h5.667a3%203%200%200%201%200%206m0-10H13v20h4v-6h5.667a7%207%200%201%200%200-14%22%20fill%3D%22%23FFF%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\"\r\n      }\r\n    ]\r\n  ]\r\n}\r\n```\r\n\r\n\r\n## API\r\nThe API generated with [TypeDoc](http://typedoc.org/) can be found [here](https://fritzh321.github.io/logo-scrape/).\r\n\r\n## Demo\r\n\u003ca href=\"https://runkit.com/embed/h566z62zd1qx\"\u003e\r\n\t\u003cimg src=\"https://badge.runkitcdn.com/logo-scrape.svg\" alt=\"Try logo-scrape on RunKit\"/\u003e\r\n\u003c/a\u003e\r\n\r\n## Contributing\r\n\r\nFeel free to submit pull requests, create issues or spread the word.\r\n\r\n## License\r\n\r\nMIT \u0026copy; [Fritz Hoste](https://twitter.com/fritz_hoste)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritzh321%2Flogo-scrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffritzh321%2Flogo-scrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritzh321%2Flogo-scrape/lists"}