readXmlSync

Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs

This function allows you to read an xml file and get his content back as JSON

Params

  1. path*-String

    The xml file path to read

Return

  1. -Object

    The readed json

Example

import { readXmlSync } from '@blackbyte/sugar/fs';
readXmlSync('my-cool-xml/file.xml');

Todo

  • testsnormal