4.0.3 • Published 1 year ago

@types/xml-name-validator v4.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

// Type definitions for xml-name-validator 4.0
// Project: https://github.com/jsdom/xml-name-validator
// Definitions by: Douglas Wade <https://github.com/doug-wade>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Validate a string against the Name production
 */
 export function name(name: string): boolean;

 /**
  * Validate a string againt the QName production
  */
 export function qname(qname: string): boolean;

 /**
  * Tells you whether or not a string matches the Name or QName productions in the XML Namespaces specification.
  */
 export as namespace XmlNameValidator;

Additional Details

  • Last updated: Thu, 21 Apr 2022 22:02:22 GMT
  • Dependencies: none
  • Global values: XmlNameValidator

Credits

These definitions were written by Douglas Wade.