UNPKG

xml2customjs

Version:

Library to custom convert an XML into a Javascript object or JSON

11 lines (10 loc) 440 B
import { AnyObject, XmlToJsOptions } from '../interfaces'; /** * This function takes an object with the xmlbuilder2 library format and additional * formatting options as params and returns an object transformed according to * the given set of options * This function will transform all nested objects * @param param * @returns object */ export declare function transformObject(object: AnyObject, options: XmlToJsOptions): AnyObject;