UNPKG

url-metadata

Version:

Request a url and scrape the metadata from its HTML using Node.js or the browser.

84 lines (83 loc) 1.86 kB
{ "name": "url-metadata", "version": "5.2.1", "description": "Request a url and scrape the metadata from its HTML using Node.js or the browser.", "keywords": [ "html", "metadata", "meta tags", "scrape", "scraper", "parser", "seo", "url", "article", "citations", "node", "node.js", "browser", "og", "open graph", "og: tags", "json-ld", "twitter cards" ], "engines": { "node": ">=6.0.0" }, "main": "index.js", "browser": { "./index.js": "./browser.js", "node-fetch": false, "request-filtering-agent": false }, "exports": { "node": "./index.js", "browser": "./browser.js", "default": "./index.js" }, "types": "index.d.ts", "scripts": { "lint": "standard", "format": "standard --fix", "test": "jest --testPathIgnorePatterns=/test-debug/ --detectOpenHandles && standard", "debug": "jest test-debug/debug.test.js --detectOpenHandles", "prepare": "husky install" }, "standard": { "globals": [ "expect", "test" ], "ignore": [ "/example-typescript", "/example-vite", "/test-debug" ] }, "jest": { "forceExit": true, "clearMocks": true, "resetModules": true }, "dependencies": { "cheerio": "^1.0.0-rc.12", "node-fetch": "^2.7.0", "request-filtering-agent": "2.0.1" }, "devDependencies": { "husky": "^8.0.3", "jest": "^29.5.0", "standard": "^17.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/laurengarcia/url-metadata.git" }, "bugs": { "url": "https://github.com/laurengarcia/url-metadata/issues" }, "homepage": "https://github.com/laurengarcia/url-metadata#readme", "author": "Lauren Garcia <lauren.garcia@gmail.com> (https://github.com/laurengarcia)", "license": "MIT" }