defuddle
Version:
Extract article content and metadata from web pages.
91 lines (90 loc) • 2.29 kB
JSON
{
"name": "defuddle",
"version": "0.6.4",
"description": "Extract article content and metadata from web pages.",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": ["dist/index.d.ts"],
"full": ["dist/index.full.d.ts"],
"node": ["dist/node.d.ts"]
}
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./full": {
"import": "./dist/index.full.js",
"require": "./dist/index.full.js",
"types": "./dist/index.full.d.ts"
},
"./node": {
"import": "./dist/node.js",
"types": "./dist/node.d.ts"
}
},
"scripts": {
"clean": "rm -rf dist",
"build:types": "tsc --project tsconfig.declarations.json",
"build:js": "webpack",
"build:node": "tsc --project tsconfig.node.json",
"build": "npm run clean && npm run build:types && npm run build:node && npm run build:js",
"prepublishOnly": "npm run build",
"dev:types": "tsc --project tsconfig.declarations.json --watch",
"dev:js": "webpack --watch --mode development",
"dev:node": "tsc --project tsconfig.node.json --watch",
"dev": "npm run clean && npm run build:types && concurrently \"npm run dev:types\" \"npm run dev:node\" \"npm run dev:js\"",
"playground": "node playground/server.js"
},
"keywords": [
"readability",
"content-extraction",
"article-extraction",
"web-scraping",
"html-cleanup",
"content-parser",
"article-parser",
"dom"
],
"author": "kepano",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kepano/defuddle.git"
},
"bugs": {
"url": "https://github.com/kepano/defuddle/issues"
},
"homepage": "https://github.com/kepano/defuddle",
"optionalDependencies": {
"mathml-to-latex": "^1.4.3",
"temml": "^0.11.2",
"turndown": "^7.2.0"
},
"peerDependencies": {
"jsdom": "^24.0.0"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@types/node": "^20.0.0",
"@types/turndown": "^5.0.5",
"concurrently": "^8.2.2",
"jsdom": "^24.0.0",
"terser-webpack-plugin": "^5.3.14",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"undici-types": "^5.0.0",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}