shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
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
- path*-String
The xml file path to read
Return
- -Object
The readed json
Example
import { readXmlSync } from '@blackbyte/sugar/fs';
readXmlSync('my-cool-xml/file.xml');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space