UNPKG

html-tokenizer

Version:

Small, fast, event-driven, fault-tolerant html tokenizer. Works in node or browsers.

49 lines (48 loc) 1.22 kB
{ "name": "html-tokenizer", "version": "4.0.1", "repository": { "type": "git", "url": "https://github.com/greim/html-tokenizer" }, "bugs": { "url": "https://github.com/greim/html-tokenizer/issues" }, "description": "Small, fast, event-driven, fault-tolerant html tokenizer. Works in node or browsers.", "main": "lib/index.js", "files": [ "lib", "mit-license.txt", "readme.md" ], "scripts": { "compile": "tsc", "test": "mocha \"./**/*.test.ts\" --require ts-node/register", "lint": "eslint --max-warnings 0 src/*.ts", "check": "npm run lint && npm run compile && npm test", "clean": "rm -rf ./lib" }, "keywords": [ "html", "tokenize", "tokenizer", "tokenization", "parser", "parsing" ], "author": "gregreimer@gmail.com", "license": "MIT", "dependencies": {}, "devDependencies": { "@types/cheerio": "^0.22.22", "@types/mocha": "^8.0.4", "@typescript-eslint/eslint-plugin": "^2.10.0", "@typescript-eslint/parser": "^2.10.0", "cheerio": "^1.0.0-rc.3", "eslint": "^7.15.0", "eslint-plugin-mocha": "^8.0.0", "mocha": "^8.2.1", "ts-node": "^9.1.0", "typescript": "^4.1.2" } }