html-to-json-parser
Version:
This library converts HTML to JSON or JSON to HTML tree
68 lines (67 loc) • 1.85 kB
JSON
{
"name": "html-to-json-parser",
"version": "2.0.1",
"description": "This library converts HTML to JSON or JSON to HTML tree",
"type": "module",
"source": "src/index.ts",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && microbundle --tsconfig ./tsconfig.json",
"dev": "microbundle watch",
"prepare": "husky install",
"lint": "eslint src test",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yousufkalim/html-to-json.git"
},
"keywords": [
"html",
"json",
"tree",
"html-to-json",
"html2json",
"dom",
"xmldmom",
"htmlparser"
],
"author": "Yousuf Kalim <yousufkalim@outlook.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yousufkalim/html-to-json/issues"
},
"homepage": "https://github.com/yousufkalim/html-to-json#readme",
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@types/jest": "^29.2.5",
"@types/xmldom": "^0.1.31",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"commitlint-config-non-conventional": "^1.0.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^24.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.0",
"jest": "^29.3.1",
"lint-staged": "^13.0.3",
"microbundle": "^0.15.1",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"ts-jest": "^29.0.3",
"typescript": "*"
},
"dependencies": {
"@xmldom/xmldom": "^0.8.10"
}
}