#javascript #typescript #minify #linter

oxc_sourcemap

A collection of JavaScript tools written in Rust

45 releases (19 breaking)

new 0.30.5 Sep 29, 2024
0.29.0 Sep 13, 2024
0.22.1 Jul 28, 2024
0.11.0 Mar 30, 2024

#33 in #minify

Download history 1276/week @ 2024-06-14 659/week @ 2024-06-21 1623/week @ 2024-06-28 2317/week @ 2024-07-05 1527/week @ 2024-07-12 1327/week @ 2024-07-19 1643/week @ 2024-07-26 1497/week @ 2024-08-02 1251/week @ 2024-08-09 963/week @ 2024-08-16 1018/week @ 2024-08-23 1486/week @ 2024-08-30 1848/week @ 2024-09-06 1879/week @ 2024-09-13 34169/week @ 2024-09-20 43432/week @ 2024-09-27

81,500 downloads per month
Used in 8 crates (4 directly)

MIT license

62KB
1.5K SLoC

The sourcemap implement port from rust-sourcemap, but has some different with it.

  • Encode sourcemap at parallel, including quote sourceContent and encode token to vlq mappings.
  • Avoid Sourcemap some methods overhead, like SourceMap::tokens().

Dependencies

~1–2.1MB
~47K SLoC