Installation
npm install --save @types/xml-name-validator
Summary
This package contains type definitions for xml-name-validator (https://github.com/jsdom/xml-name-validator).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xml-name-validator.
index.d.ts
/**
* Checks whether a string matches the [`Name`](http://www.w3.org/TR/xml/#NT-Name) production in from
* XML Namespaces specification.
*/
export function name(name: string): boolean;
/**
* Checks whether a string matches the [`QName`](http://www.w3.org/TR/xml-names/#NT-QName) production
* from the XML Namespaces specification.
*/
export function qname(qname: string): boolean;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Douglas Wade.