You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a sync version of parseString to API to permit
calling without a callback.
The current implemenation is sync due to underlying
implementation of SAX parser.
Examples:
```js
// Via root API
var result = xml2js.parseStringSync('< ... >', options)
// Via parser
var parser = new xml2js.Parser(options);
var result = parser.parseStringSync('< ... >');
```
See Leonidas-from-XIV#241 by @nobodyname
See Leonidas-from-XIV#319 by @mrparkers
0 commit comments