UNPKG

metafetch

Version:

Metafetch fetches a given URL's title, description, images, links etc.

79 lines (78 loc) 1.93 kB
{ "name": "metafetch", "description": "Metafetch fetches a given URL's title, description, images, links etc.", "version": "5.0.3", "homepage": "https://github.com/brahma-dev/metafetch", "repository": { "type": "git", "url": "https://github.com/brahma-dev/metafetch" }, "files": [ "dist", "sample.js" ], "type": "module", "author": "brahma-dev", "keywords": [ "meta", "html-head", "twitter-cards", "structured-data", "head-tags", "canonical-urls", "page-title", "meta-description", "meta-tags", "semantic-web", "social-media-metadata", "web scraping", "open-graph", "json-ld", "scraping" ], "main": "dist/index", "dependencies": { "linkedom": "^0.18.11" }, "peerDependencies": { "puppeteer": ">=22.0.0 <25.0.0" }, "peerDependenciesMeta": { "puppeteer": { "optional": true } }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "@types/node": "^24.2.1", "@types/sinon": "^17.0.4", "c8": "^10.1.3", "chai": "^5.2.1", "coveralls": "^3.1.1", "mocha": "^11.7.1", "mocha-junit-reporter": "^2.2.1", "mocha-lcov-reporter": "^1.3.0", "puppeteer": "^24.16.1", "sinon": "^21.0.0", "terser": "^5.43.1", "ts-node": "^10.9.2", "typescript": "^5.9.2" }, "scripts": { "build": "tsc && terser dist/index.js -o dist/index.js -c -m", "dev": "tsc -w", "test": "mocha", "test:ci": "mocha --reporter mocha-junit-reporter --reporter-options \"mochaFile=./test-report.junit.xml\"", "coverage": "c8 --reporter=text --reporter=lcov npm test", "coverage:ci": "c8 --reporter=text --reporter=lcov npm run test:ci" }, "engines": { "node": ">= 18.0.0" }, "license": "MIT", "bugs": { "url": "https://github.com/brahma-dev/metafetch/issues" } }