Git Product home page Git Product logo

Comments (7)

idy avatar idy commented on August 20, 2024

node-expat works on windows, and the reason why node-expat is not the python but the node-gyp and your vs version. This issue discuss it. node-expat is faster than other xml parser, and this is why i choose this package to convert xml to json ;)

from node-xml2json.

c4milo avatar c4milo commented on August 20, 2024

I'm closing this issue as invalid.

from node-xml2json.

RangerMauve avatar RangerMauve commented on August 20, 2024

It'd still be nice to get rid of the dependency for a pure-js alternative. One of the reasons is that you cannot re-use this module client-side with something like Browserify because of the native code dependency.

from node-xml2json.

JasonGhent avatar JasonGhent commented on August 20, 2024

@RangerMauve Do you know of any other xml2json packages that are compatible with Browserify?

from node-xml2json.

RangerMauve avatar RangerMauve commented on August 20, 2024

@JasonGhent I haven't really found one so far, sadly. Luckily I only really use XML server-side these days.

You might want to take a look at the native DOM apis for working with XML.

from node-xml2json.

c4milo avatar c4milo commented on August 20, 2024

@RangerMauve this module was specifically created to serialize fast, that's why it uses expat. I would use the DOM parsers instead too.

from node-xml2json.

noveens avatar noveens commented on August 20, 2024

Just saying: https://www.npmjs.com/package/xml-js is a pure JS library, and works with browserify as well.

@JasonGhent @RangerMauve

from node-xml2json.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.