</>PackageGraphPackageGraph

saxes

npmv6.0.0TypeScript

An evented streaming XML parser in JavaScript

Not recommended for new projects

No — saxes should not be adopted for new projects. Last published 1767 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1767 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 160 KB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    ISC — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding saxes to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

160 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Compatibility

Node.js
node >=v12.22.7
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the saxes README.

javascriptFull README ↗
var saxes = require("./lib/saxes"),
  parser = new saxes.SaxesParser();

parser.on("error", function (e) {
  // an error happened.
});
parser.on("text", function (t) {
  // got some text.  t is the string of text.
});
parser.on("opentag", function (node) {
  // opened a tag.  node has "name" and "attributes"
});
parser.on("end", function () {
  // parser stream is done, and ready to have more stuff written to it.
Example truncated — see the full README.

Dependencies

Declared by saxes v6.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (1)

xmlchars ^2.2.0

Dev (32)

@commitlint/cli ^14.1.0@commitlint/config-angular ^14.1.0@types/chai ^4.2.22@types/mocha ^9.0.0@types/node ^16.11.6@typescript-eslint/eslint-plugin ^5.3.0@typescript-eslint/eslint-plugin-tslint ^5.3.0@typescript-eslint/parser ^5.3.0@xml-conformance-suite/js ^3.0.0@xml-conformance-suite/mocha ^3.0.0@xml-conformance-suite/test-data ^3.0.0chai ^4.3.4conventional-changelog-cli ^2.1.1eslint ^8.2.0eslint-config-lddubeau-base ^6.1.0eslint-config-lddubeau-ts ^2.0.2eslint-import-resolver-typescript ^2.5.0eslint-plugin-import ^2.25.2eslint-plugin-jsx-a11y ^6.4.1eslint-plugin-prefer-arrow ^1.2.3eslint-plugin-react ^7.26.1eslint-plugin-simple-import-sort ^7.0.0husky ^7.0.4mocha ^9.1.3renovate-config-lddubeau ^1.0.0simple-dist-tag ^1.0.2ts-node ^10.4.0tsd ^0.18.0tslint ^6.1.3tslint-microsoft-contrib ^6.2.0typedoc ^0.22.8typescript ^4.4.4

Used by

Popular packages that depend on saxes.

Relationship graph

Dependencies (left) and dependents (right) of saxes.

jsdomsaxes
saxes dependencies dependents

Frequently installed together

whatwg-urlnpm

An implementation of the WHATWG URL Standard's URL API and parsing machinery

204.4M/wk3 dependentsMIT
undicinpm

An HTTP/1.1 client, written from scratch for Node.js

158.5M/wk15 dependentsMITTS
eslintnpm

An AST-based pattern checker for JavaScript.

138.4M/wk279 dependentsMITTS
is-potential-custom-element-namenpm

Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.

41.4M/wk2 dependentsMIT
decimal.jsnpm

An arbitrary-precision Decimal type for JavaScript.

0/wk1 dependentsMITTS
webidl-conversionsnpm

Implements the WebIDL algorithms for converting to and from JavaScript values

0/wk2 dependentsBSD-2-Clause
whatwg-mimetypenpm

Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard

0/wk3 dependentsMIT
@asamuzakjp/css-colornpm

CSS color - Resolve and convert CSS colors.

0/wk1 dependentsMITTS
w3c-xmlserializernpm

A per-spec XML serializer implementation

0/wk1 dependentsMIT
xml-name-validatornpm

Validates whether a string matches the production for an XML name or qualified name

0/wk2 dependentsApache-2.0
@csstools/css-syntax-patches-for-csstreenpm

CSS syntax patches for CSS tree

0/wk1 dependentsMIT-0TS
css-treenpm

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

0/wk5 dependentsMIT

Release history

No releases in the last two years, typically about 7 days apart.

Recent versions of saxes
VersionPublishedSizeLicense
6.0.0latest4 years ago160 KBISC
6.0.0-rc.14 years ago160 KBISC
5.0.16 years ago160 KBISC
5.0.06 years ago160 KBISC
5.0.0-rc.26 years ago160 KBISC
5.0.0-rc.16 years ago3.0 MBISC
4.0.27 years ago103 KBISC
4.0.17 years ago103 KBISC
4.0.07 years ago103 KBISC
4.0.0-rc.47 years ago102 KBISC
4.0.0-rc.37 years ago102 KBISC
4.0.0-rc.27 years ago101 KBISC
4.0.0-rc.17 years ago100 KBISC
3.1.117 years ago87 KBISC
3.1.107 years ago81 KBISC

Overview

saxes is an npm package that an evented streaming XML parser in JavaScript. It has 1 known dependents in the graph. The latest version is 6.0.0, released under the ISC license.

Who should use it

Teams working in the npm ecosystem who need an evented streaming XML parser in JavaScript and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (ISC).

Cons

  • Large dependency tree (33 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use saxes?

No — saxes should not be adopted for new projects. Last published 1767 days ago.

How do I install saxes?

Run `npm install saxes` to add saxes to your npm project.

How many dependencies does saxes have?

saxes declares 33 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 160 KB on disk.

What license is saxes released under?

saxes is distributed under the ISC license.

How popular is saxes?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on saxes.

Is saxes still maintained?

The most recent release of saxes (v6.0.0) was published 4 years ago.

Does saxes run install scripts?

No. saxes does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.