Skip to content

Conversation

@Leonidas-from-XIV
Copy link
Owner

#423 with some of my changes on top.

mckramer and others added 3 commits August 30, 2019 00:02
Examples:

```js
// Via root API
xml2js.parseStringPromise('< ... >', options)
  .then(function (result) { /* ... */ })
  .catch(function (err) { /* ... */ })

// Via parser
var parser = new xml2js.Parser(options);
parser.parseStringPromise('< ... >')
  .then(function (result) { /* ... */ })
  .catch(function (err) { /* ... */ })
```
@Leonidas-from-XIV Leonidas-from-XIV self-assigned this Aug 29, 2019
@knoxcard
Copy link

This one is even better, yes node 8+ is the way to go! I'll remove the second pull request I submitted.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 97.701% when pulling c6071f3 on parse-string-promise into 5770685 on master.

@Leonidas-from-XIV Leonidas-from-XIV merged commit f41cb5f into master Aug 30, 2019
@Leonidas-from-XIV Leonidas-from-XIV deleted the parse-string-promise branch August 30, 2019 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants