UNPKG

@jsdevtools/rehype-url-inspector

Version:

A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document

72 lines (71 loc) 1.8 kB
{ "name": "@jsdevtools/rehype-url-inspector", "version": "2.0.2", "description": "A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document", "keywords": [ "unified", "rehype", "plugin", "rehype-plugin", "url", "rewrite", "validate", "inspect", "normalize", "404", "broken links" ], "author": { "name": "James Messinger", "url": "https://jamesmessinger.com" }, "license": "MIT", "homepage": "https://jstools.dev/rehype-url-inspector", "repository": { "type": "git", "url": "https://github.com/JS-DevTools/rehype-url-inspector.git" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "clean": "shx rm -rf .nyc_output coverage lib", "lint": "eslint src test", "build": "tsc", "watch": "tsc --watch", "test": "mocha && npm run lint", "coverage": "nyc node_modules/mocha/bin/mocha", "upgrade": "npm-check -u && npm audit fix", "bump": "bump --tag --push --all", "release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump" }, "engines": { "node": ">=10" }, "devDependencies": { "@jsdevtools/eslint-config": "^1.0.4", "@jsdevtools/version-bump-prompt": "^6.0.5", "@types/chai": "^4.2.11", "@types/mocha": "^8.0.0", "@types/node": "^14.0.23", "@types/unist": "^2.0.3", "chai": "^4.2.0", "eslint": "^7.5.0", "mocha": "^8.0.1", "npm-check": "^5.9.2", "nyc": "^15.1.0", "rehype-parse": "^7.0.1", "rehype-stringify": "^8.0.0", "shx": "^0.3.2", "sinon": "^9.0.2", "to-vfile": "^6.1.0", "typescript": "^3.9.7", "unified": "^9.0.0" }, "dependencies": { "url-regex": "^5.0.0", "vfile": "^4.1.1" } }