UNPKG

open-graph-scraper-ts

Version:

Node.js scraper module for Open Graph and Twitter Card info

93 lines (92 loc) 2.72 kB
{ "name": "open-graph-scraper-ts", "description": "Node.js scraper module for Open Graph and Twitter Card info", "version": "6.9.0-alpha.2", "license": "MIT", "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", "exports": { ".": { "types": "./types/index.d.ts", "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.js" }, "./types": "./types/lib/types.d.ts" }, "scripts": { "build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs/", "build:declaration": "tsc --project tsconfig.declaration.json", "build:esm": "node esbuild.config.mjs", "build": "rm -rf dist/ && npm run build:cjs && npm run build:esm", "ci": "npm run eslint && npm run build && npm run build:declaration && npm run test", "eslint:fix": "eslint . --ext .js,.mjs,.ts --fix", "eslint": "eslint . --ext .js,.mjs,.ts", "mocha:int": "ts-mocha --recursive \"./tests/integration/**/*.spec.ts\" --timeout 10000", "mocha:unit": "nyc --reporter=html --reporter=text --exclude=tests/ ts-mocha --recursive \"./tests/unit/**/*.spec.ts\"", "prepare": "npm run snyk-protect && npm run build", "snyk-protect": "snyk-protect", "test": "npm run mocha:unit && npm run mocha:int" }, "engines": { "node": ">=18.0.0" }, "author": { "name": "Josh Shemas", "email": "jjs90jjs@gmail.com", "url": "https://github.com/jshemas" }, "dependencies": { "chardet": "^2.0.0", "cheerio": "^1.0.0-rc.12", "iconv-lite": "^0.6.3", "undici": "^6.19.8" }, "files": [ "/dist", "/types", "CHANGELOG.md" ], "devDependencies": { "@snyk/protect": "^1.1293.1", "@types/mocha": "^10.0.8", "@types/node": "^18.19.50", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "chai": "^4.5.0", "esbuild": "^0.24.0", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-plugin-import": "^2.30.0", "eslint-plugin-mocha": "^10.5.0", "eslint-plugin-promise": "^7.1.0", "mocha": "^10.7.3", "nyc": "^17.0.0", "sinon": "^19.0.2", "ts-mocha": "^10.0.0", "typescript": "^5.5.4" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/jshemas/openGraphScraper.git", "web": "http://github.com/jshemas/openGraphScraper" }, "keywords": [ "app links", "dublin core", "json ld", "meta tags", "metadata", "og", "ogp", "ogs", "open graph scraper", "open graph", "opengraph", "openGraphScraper", "scraper", "twitter card", "twitter" ], "snyk": true }