albanm / node-libxslt

Node.js bindings for libxslt compatible with libxmljs
50 stars 68 forks source link

Libxslt Browser Usage #71

Closed ucalis closed 5 years ago

ucalis commented 5 years ago

I am trying to use libxslt in web application ( running on browser) . I got error about requiring your library. I am faced with a kind of TypeError. Does it have browser support ? Or is it impossible using in web application ? I am also using npm 6.14.4 version, not latest one. Do I need to use newer npm version ?

ankon commented 5 years ago

Libxslt is a thin wrapper around a native library (called libxslt!), so it won’t work in a browser.

But: a browser already provides XSL transformation support, so you shouldn’t need an additional library.