UNPKG

article-parser

Version:

To extract main article from given URL

68 lines (67 loc) 1.58 kB
{ "version": "7.2.0", "name": "article-parser", "description": "To extract main article from given URL", "homepage": "https://demos.pwshub.com/article-parser", "repository": { "type": "git", "url": "git@github.com:ndaidong/article-parser.git" }, "author": "@ndaidong", "main": "./src/main.js", "exports": { "import": "./src/main.js", "require": "./dist/cjs/article-parser.js" }, "imports": { "cross-fetch": "./src/deno/cross-fetch.js" }, "browser": { "linkedom": "./src/browser/linkedom.js", "./main.js": "./dist/article-parser.browser.js" }, "type": "module", "types": "./index.d.ts", "engines": { "node": ">= 14" }, "scripts": { "lint": "standard .", "pretest": "npm run lint", "test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage=true", "build": "node build", "eval": "cross-env node eval", "eval:cjs": "cross-env node eval.cjs", "reset": "node reset" }, "dependencies": { "@mozilla/readability": "^0.4.2", "bellajs": "^11.0.7", "cross-fetch": "^3.1.5", "html-crush": "^5.1.6", "linkedom": "^0.14.14", "sanitize-html": "^2.7.2" }, "standard": { "ignore": [ "/dist", "/examples" ] }, "devDependencies": { "@types/sanitize-html": "^2.6.2", "cross-env": "^7.0.3", "esbuild": "^0.15.7", "jest": "^29.0.3", "nock": "^13.2.9", "standard": "^17.0.0" }, "keywords": [ "article", "extractor", "parser", "readability", "util" ], "license": "MIT" }