UNPKG

tabletojson

Version:

Convert HTML tables to JSON objects

74 lines (73 loc) 2.46 kB
{ "author": { "name": "Marius Augenstein", "email": "marius.augenstein@gmail.com", "url": "https://github.com/maugenst" }, "name": "tabletojson", "version": "4.1.6", "description": "Convert HTML tables to JSON objects", "main": "dist/lib/cjs/Tabletojson.js", "types": "./@typings/Tabletojson.d.ts", "module": "dist/lib/mjs/Tabletojson.js", "typeRoots": ["./@typings", "./node_modules/@types/"], "files": ["README.md", "lib", "dist", "examples", "@typings"], "exports": { "import": { "types": "./@typings/Tabletojson.d.ts", "default": "./dist/lib/mjs/Tabletojson.js" }, "require": { "types": "./@typings/Tabletojson.d.ts", "default": "./dist/lib/cjs/Tabletojson.js" } }, "keywords": ["table2json", "html", "table", "convert", "json", "csv"], "engines": { "node": ">= 18.0.0" }, "repository": { "type": "git", "url": "git://github.com/maugenst/tabletojson.git" }, "dependencies": { "cheerio": "^1.0.0" }, "license": "ISC", "devDependencies": { "@biomejs/biome": "1.9.4", "@swc/core": "^1.11.24", "@swc/jest": "^0.2.38", "@types/jest": "^29.5.14", "@types/json2csv": "^5.0.7", "@types/lodash": "^4.17.16", "@types/node": "^22.15.19", "@types/supertest": "^6.0.3", "chokidar": "^4.0.3", "config": "^4.0.0", "jest": "^29.7.0", "jest-extended": "^5.0.1", "json2csv": "^6.0.0-alpha.2", "lodash": "^4.17.21", "nock": "^14.0.4", "npm-run-all": "^4.1.5", "rimraf": "^6.0.1", "ts-jest": "^29.3.4", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "scripts": { "clean": "rimraf dist/", "clean:all": "rimraf node_modules dist/ && mkdir dist", "build:examples": "swc examples -d dist/examples", "build": "run-s clean lint build:mjs build:cjs fixup", "build:cjs": "tsc -p tsconfig-cjs.json", "build:mjs": "tsc -p tsconfig-mjs.json", "build:dev": "tsc -p tsconfig-mjs.json --watch", "fixup": "./fixup.sh", "lint": "npx @biomejs/biome lint ./lib ./test --write", "prepare": "npm run clean && npm run build && npm run lint", "prebuild": "npm run lint", "test": "jest --coverage --" } }