charcode-is-valid-xml-name-character
Version:
Does a given character belong to XML spec's "Production 4 OR 4a" type (is acceptable for XML element's name)
81 lines (80 loc) • 2.28 kB
JSON
{
"name": "charcode-is-valid-xml-name-character",
"version": "3.0.13",
"description": "Does a given character belong to XML spec's \"Production 4 OR 4a\" type (is acceptable for XML element's name)",
"keywords": [
"4",
"4a",
"HTML",
"XHTML",
"character",
"element",
"letter",
"name",
"production",
"regex",
"requirement",
"satisfies",
"spec",
"valid",
"xml"
],
"homepage": "https://codsen.com/os/charcode-is-valid-xml-name-character",
"repository": {
"type": "git",
"url": "git+https://github.com/codsen/codsen.git",
"directory": "packages/charcode-is-valid-xml-name-character"
},
"license": "MIT",
"author": {
"name": "Roy Revelt",
"email": "roy@codsen.com",
"url": "https://codsen.com"
},
"type": "module",
"exports": {
"types": "./types/index.d.ts",
"script": "./dist/charcode-is-valid-xml-name-character.umd.js",
"default": "./dist/charcode-is-valid-xml-name-character.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": [
""
]
}
},
"dependencies": {
"ranges-is-index-within": "^4.0.13"
}
}