@netless/xml-js
TypeScript icon, indicating that this package has built-in type declarations

1.6.16 • Public • Published

This fork moves "sax" to "devDependencies" and bundles it with rollup (rollup-plugin-node-polyfills).

(rollup-plugin-polyfill-node doesn't work, don't know why)

I also removed tests and coverage for faster setup. 😅

Applied these useful forks:

Install: npm i @netless/xml-js.

Replace it in package.json:

"dependencies": {
  "xml-js": "npm:@netless/xml-js"
}

Replace it in vite.config.js:

export default defineConfig({
  alias: {
    "xml-js": "@netless/xml-js"
  }
})

Replace it in webpack.config.js

{
  "resolve": {
    "alias": {
      "xml-js": "@netless/xml-js"
    }
  }
}

Other ways: see how preact does.

Todo

  • Maybe replace sax with saxes.

Changelog

1.6.15

  • Transfer to @netless/.

1.6.14

  • Use named export, for tree shaking purpose.

Read the original README.

Package Sidebar

Install

npm i @netless/xml-js

Weekly Downloads

898

Version

1.6.16

License

MIT

Unpacked Size

473 kB

Total Files

20

Last publish

Collaborators

  • hqer
  • vince-hz
  • hyrious
  • huaguzheng