UNPKG

is-html-attribute-closing

Version:

Is a character on a given index a closing of an HTML attribute?

84 lines (83 loc) 2.32 kB
{ "name": "is-html-attribute-closing", "version": "4.0.23", "description": "Is a character on a given index a closing of an HTML attribute?", "keywords": [ "attribute", "character", "codsen", "emlint", "end", "ending", "ends", "html", "is", "lexer", "parsing", "tag", "tokeniser", "tokenizer" ], "homepage": "https://codsen.com/os/is-html-attribute-closing", "repository": { "type": "git", "url": "git+https://github.com/codsen/codsen.git", "directory": "packages/is-html-attribute-closing" }, "license": "MIT", "author": { "name": "Roy Revelt", "email": "roy@codsen.com", "url": "https://codsen.com" }, "type": "module", "exports": { "types": "./types/index.d.ts", "script": "./dist/is-html-attribute-closing.umd.js", "default": "./dist/is-html-attribute-closing.esm.js" }, "types": "types/index.d.ts", "scripts": { "build": "node '../../ops/scripts/esbuild.js' && npm run dts", "cjs-off": "exit 0", "cjs-on": "exit 0", "dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts", "devtest": "c8 npm run unit && npm run examples && npm run lint", "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'", "examples": "node '../../ops/scripts/run-examples.js'", "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write", "letspublish": "npm publish || :", "lint": "eslint . --fix", "perf": "node perf/check.js", "prep": "echo 'ready'", "prettier": "prettier", "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'", "pretest": "npm run lect && npm run build", "test": "npm run devtest", "unit": "uvu test" }, "engines": { "node": ">=14.18.0" }, "c8": { "check-coverage": true, "exclude": [ "**/test/**/*.*" ], "lines": 100 }, "lect": { "licence": { "extras": [ "" ] }, "various": {} }, "dependencies": { "html-all-known-attributes": "^6.0.9", "is-char-suitable-for-html-attr-name": "^4.0.9", "string-left-right": "^6.0.21", "string-match-left-right": "^9.0.23" } }