Gathering detailed insights and metrics for ltx
Gathering detailed insights and metrics for ltx
Gathering detailed insights and metrics for ltx
Gathering detailed insights and metrics for ltx
npm install ltx
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
87 Stars
530 Commits
44 Forks
11 Watching
11 Branches
26 Contributors
Updated on 27 Aug 2024
Minified
Minified + Gzipped
JavaScript (99.86%)
Shell (0.14%)
Cumulative downloads
Total Downloads
Last day
16.6%
9,527
Compared to previous day
Last week
7.5%
51,059
Compared to previous week
Last month
-0.2%
212,625
Compared to previous month
Last year
-46.7%
2,507,282
Compared to previous year
JavaScript XML library
ltx is a fast XML builder, parser, serialization and manipulation library for JavaScript.
The builder is a convenient and succinct API to build XML documents represented in memory as JavaScript primitives that can be serialized to XML strings.
The parser can parse XML documents or streams and support multiple parsers.
Features:
ltx.createElement
pragma)ltx`<foo bar="${baz}">`
npm install ltx
By default ltx uses its own parser which is the fastest but doesn't support advanced XML features. ltx supports third party parsers when such features are needed.
parser | ops/sec | JS | stream |
---|---|---|---|
node-xml | 22,292 | ☑ | ☑ |
libxmljs | 48,116 | ☐ | ☐ |
node-expat | 63,805 | ☐ | ☑ |
sax-js | 79,375 | ☑ | ☑ |
saxes | 168,263 | ☑ | ☑ |
ltx/src/parsers/ltx | 527,728 | ☑ | ☑ |
From ltx/benchmarks/parsers.js, higher is better. Node.js v14.17.0 - AMD Ryzen 9 5900HX
npm run benchmark
npm install
npm test
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/24 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More