@types/xml-name-validator
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/xml-name-validator

Weekly Downloads

8,002

Version

4.0.3

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • types