UNPKG

319 BTypeScriptView Raw
1/// <reference types="node" />
2import { Readable } from 'stream';
3/**
4 * Verify the passed in xml is valid. Requires xmllib be installed
5 * @param xml what you want validated
6 * @return {Promise<void>} resolves on valid rejects [error stderr]
7 */
8export declare function xmlLint(xml: string | Readable): Promise<void>;