{"id":26569022,"url":"https://github.com/velocityzen/meta-extractor","last_synced_at":"2025-03-22T20:19:19.360Z","repository":{"id":5846900,"uuid":"54068301","full_name":"velocityzen/meta-extractor","owner":"velocityzen","description":"Super simple and fast html page meta data extractor with low memory footprint","archived":false,"fork":false,"pushed_at":"2023-01-04T21:36:36.000Z","size":881,"stargazers_count":36,"open_issues_count":7,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-13T22:46:25.002Z","etag":null,"topics":["atom","extractor","feed","html","meta","metadata","nodejs","opengraph","parser","rss"],"latest_commit_sha":null,"homepage":"","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/velocityzen.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":"2016-03-16T21:37:45.000Z","updated_at":"2023-09-18T16:32:04.000Z","dependencies_parsed_at":"2023-01-13T13:43:27.997Z","dependency_job_id":null,"html_url":"https://github.com/velocityzen/meta-extractor","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocityzen%2Fmeta-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocityzen%2Fmeta-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocityzen%2Fmeta-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velocityzen%2Fmeta-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velocityzen","download_url":"https://codeload.github.com/velocityzen/meta-extractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245014711,"owners_count":20547304,"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":["atom","extractor","feed","html","meta","metadata","nodejs","opengraph","parser","rss"],"created_at":"2025-03-22T20:19:18.563Z","updated_at":"2025-03-22T20:19:19.349Z","avatar_url":"https://github.com/velocityzen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meta-extractor\n\n[![NPM Version](https://img.shields.io/npm/v/meta-extractor.svg?style=flat-square)](https://www.npmjs.com/package/meta-extractor)\n[![NPM Downloads](https://img.shields.io/npm/dt/meta-extractor.svg?style=flat-square)](https://www.npmjs.com/package/meta-extractor)\n\nSuper simple and fast meta data extractor with low memory footprint.\n\nExtracts:\n\n- title\n- description\n- charset\n- theme-color\n- rss/atom feeds\n- all opengraph meta data\n- all twitter meta data\n- all app links meta data\n- all vk meta data\n- all unique image urls (absolute)\n- **returns mime and extension for binary files without downloading the whole file**\n\n## install\n\n`npm i meta-extractor`\n\n## usage\n\n```js\nconst extract = require('meta-extractor');\n\nextract({ uri: 'http://www.newyorker.com' }, (err, res) =\u003e\n  console.log(err, res)\n);\n\nor;\n\nconst res = await extract({ uri: 'http://www.newyorker.com' });\nconsole.log(res);\n```\n\nIf no callback provided returns a Promise.\n\nThe first parameter `opts` as in [got](https://github.com/sindresorhus/got) module and:\n\n- **uri** — uri to get meta from.\n- rxMeta — regexp, custom regexp for meta data.\n- limit — number, response body size limit in bytes. Default 2Mb.\n\nLicense MIT;\n\n© velocityzen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocityzen%2Fmeta-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelocityzen%2Fmeta-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelocityzen%2Fmeta-extractor/lists"}