Skip to content

Commit

Permalink
docs: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
tuananh committed Apr 24, 2020
1 parent c6538b6 commit f8e394f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

## camaro

### `ready()`

Initialize module. Needed to be called once before calling other methods.

### `transform(xml, template)`

Transform xml string to JSON using the given template powered by XPath where:
Expand Down Expand Up @@ -44,6 +48,8 @@ const template = {

### `toJson(xml)`

**Not yet implemented**

Transform xml string to JSON where:
- `xml` - the input xml string

Expand Down

0 comments on commit f8e394f

Please sign in to comment.