From b56e0e37d69edc8026a381c02486e5a90efb7756 Mon Sep 17 00:00:00 2001 From: Dominic Heun Date: Sat, 19 Mar 2022 15:28:12 +0100 Subject: [PATCH] docs: correct examples to use saxxmlparser as node-module (#244) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0261603..f31efcc 100644 --- a/README.md +++ b/README.md @@ -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"); @@ -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"); @@ -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"); @@ -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");