UNPKG

1.47 kBJSONView Raw
1{
2 "name": "html-to-text",
3 "version": "9.0.2",
4 "description": "Advanced html to plain text converter",
5 "keywords": [
6 "html",
7 "node",
8 "text",
9 "mail",
10 "plain",
11 "converter"
12 ],
13 "license": "MIT",
14 "author": "Malte Legenhausen <legenhausen@werk85.de>",
15 "contributors": [
16 "KillyMXI <killy@mxii.eu.org>"
17 ],
18 "homepage": "https://github.com/html-to-text/node-html-to-text",
19 "repository": {
20 "type": "git",
21 "url": "git://github.com/html-to-text/node-html-to-text.git"
22 },
23 "bugs": {
24 "url": "https://github.com/html-to-text/node-html-to-text/issues"
25 },
26 "type": "module",
27 "main": "./lib/html-to-text.cjs",
28 "module": "./lib/html-to-text.mjs",
29 "exports": {
30 "import": "./lib/html-to-text.mjs",
31 "require": "./lib/html-to-text.cjs"
32 },
33 "files": [
34 "lib",
35 "README.md",
36 "CHANGELOG.md",
37 "LICENSE"
38 ],
39 "engines": {
40 "node": ">=14"
41 },
42 "scripts": {
43 "build:rollup": "rollup -c",
44 "build": "npm run clean && npm run build:rollup && npm run copy:license",
45 "clean": "rimraf lib",
46 "copy:license": "copyfiles -f ../../LICENSE .",
47 "cover": "c8 --reporter=lcov --reporter=text-summary mocha -t 20000",
48 "test": "mocha"
49 },
50 "dependencies": {
51 "@selderee/plugin-htmlparser2": "^0.10.0",
52 "deepmerge": "^4.2.2",
53 "htmlparser2": "^8.0.1",
54 "selderee": "^0.10.0"
55 },
56 "mocha": {
57 "node-option": [
58 "experimental-specifier-resolution=node"
59 ]
60 }
61}