Installation
npm install --save @types/xsd-schema-validator
Summary
This package contains type definitions for xsd-schema-validator (https://github.com/nikku/node-xsd-schema-validator#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xsd-schema-validator.
index.d.ts
/// <reference types="node" />
export function validateXML(
xml: string | NodeJS.ReadableStream | { file: string },
pathToXsd: string,
callback: (err: Error, result: {
valid: boolean;
messages: string[];
result: string;
}) => void,
): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by Zlatko Andonovski.