Skip to content

Commit

Permalink
docs: correct examples to use saxxmlparser as node-module (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDome authored Mar 19, 2022
1 parent c13c029 commit b56e0e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A small package to transverse xml into javascript

```typescript
import { readFileSync } from "fs";
import parse from "./lib/index";
import parse from "saxxmlparser";

var xml = readFileSync("xml.xml");

Expand Down Expand Up @@ -52,7 +52,7 @@ soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

```typescript
import { readFileSync } from "fs";
import parse from "./lib/index";
import parse from "saxxmlparser";

var xml = readFileSync("xml.xml");

Expand All @@ -74,7 +74,7 @@ Sometimes when you only want a specific child but the parents or the path does n

```typescript
import { readFileSync } from "fs";
import parse from "./lib/index";
import parse from "saxxmlparser";

var xml = readFileSync("xml.xml");

Expand All @@ -97,7 +97,7 @@ Sometimes when you only want a specific child but the parents or the path does n

```typescript
import { readFileSync } from "fs";
import parse from "./lib/index";
import parse from "saxxmlparser";

var xml = readFileSync("xml.xml");

Expand Down

0 comments on commit b56e0e3

Please sign in to comment.