Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

import instead of require? #172

Open
sketchbuch opened this issue Feb 3, 2019 · 2 comments
Open

import instead of require? #172

sketchbuch opened this issue Feb 3, 2019 · 2 comments

Comments

@sketchbuch
Copy link

sketchbuch commented Feb 3, 2019

How can I use import instead of require to include xml2json?

@SabySen
Copy link

SabySen commented Apr 17, 2020

Try installing @types/xml2json. See if that helps.

@hutber
Copy link

hutber commented Aug 2, 2020

This is already working @sketchbuch
import parser from 'xml2json'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants