UNPKG

xml-class-transformer

Version:

Fluently parse XML into beautiful JS/TS classes and serialize them. GoLang's encoding/xml alternative for JS/TS world.

4 lines 294 B
import type { AnyClass, ClassToXmlOptions } from './types'; export declare function xmlToClass<T extends AnyClass>(xml: string, _class: T): InstanceType<T>; export declare function classToXml(entity: any, options?: ClassToXmlOptions): string; //# sourceMappingURL=xml-class-transformer.d.ts.map