{"id":13469678,"url":"https://github.com/rocktimsaikia/meta-fetcher","last_synced_at":"2025-05-16T17:04:08.524Z","repository":{"id":50261253,"uuid":"294957944","full_name":"rocktimsaikia/meta-fetcher","owner":"rocktimsaikia","description":"Simple metadata scrapper for node.js","archived":false,"fork":false,"pushed_at":"2025-03-11T09:14:32.000Z","size":190,"stargazers_count":150,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-11T03:59:34.165Z","etag":null,"topics":["meta-data","meta-data-fetcher","meta-fetcher","metadata-extractor","metadata-scrapper","url-metadata"],"latest_commit_sha":null,"homepage":"https://npm.im/meta-fetcher","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/rocktimsaikia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-09-12T14:18:00.000Z","updated_at":"2025-03-22T19:18:19.000Z","dependencies_parsed_at":"2024-06-20T19:04:51.941Z","dependency_job_id":"e597deed-098e-4da7-9718-1289272e4a1a","html_url":"https://github.com/rocktimsaikia/meta-fetcher","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"1556ee68a598a3958bf4031432b7357f3b870fc1"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fmeta-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fmeta-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fmeta-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fmeta-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocktimsaikia","download_url":"https://codeload.github.com/rocktimsaikia/meta-fetcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254573589,"owners_count":22093731,"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":["meta-data","meta-data-fetcher","meta-fetcher","metadata-extractor","metadata-scrapper","url-metadata"],"created_at":"2024-07-31T15:01:50.437Z","updated_at":"2025-05-16T17:04:08.467Z","avatar_url":"https://github.com/rocktimsaikia.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# meta-fetcher\n\n[![CI](https://github.com/rocktimsaikia/meta-fetcher/actions/workflows/main.yml/badge.svg)](https://github.com/rocktimsaikia/meta-fetcher/actions/workflows/main.yml)\n![npm](https://img.shields.io/npm/v/meta-fetcher?style=flat\u0026color=success\u0026logo=npm)\n\nSimple metadata scrapper.\n\n## Installation\n\n```sh\nyarn add meta-fetcher\n```\n\n## Usage\n\n```js\nimport metaFetcher from 'meta-fetcher';\n\nconst result = await metaFetcher('https://hoppscotch.io/');\n\nconsole.log(result);\n```\n\nOutput:\n\n```json\n{\n  \"title\": \"Hoppscotch - Open source API development ecosystem\",\n  \"description\": \"Helps you create requests faster, saving precious time on development.\",\n  \"image\": \"https://hoppscotch.io/og.png\",\n  \"url\": \"https://hoppscotch.io/\",\n  \"siteName\": \"Hoppscotch\",\n  \"type\": \"website\"\n}\n```\n\n## API\n\n### metaFetcher(input)\n\nTakes one url string as a parameter and returns an object containing the meta-information.\n\n#### input\n\ntype: `string` \\\ndefault: `'none'`\n\nThe url string to be scrapped.\n\n## Related\n\n[**page-scrapper**](https://github.com/rocktimsaikia/page-scrapper): Node.js scrapper that pulls out all links and images of a given site.\n\n## License\n\n2025 [MIT](./LICENSE) © [Rocktim Saikia](https://rocktimsaikia.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fmeta-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocktimsaikia%2Fmeta-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fmeta-fetcher/lists"}