6 releases (3 breaking)

0.4.1 Mar 9, 2020
0.4.0 Nov 24, 2019
0.3.0 Feb 26, 2019
0.2.1 Jan 19, 2019
0.1.0 Nov 18, 2018

#24 in #babel

Download history 8/week @ 2024-02-02 40/week @ 2024-02-09 60/week @ 2024-02-16 49/week @ 2024-02-23 76/week @ 2024-03-01 88/week @ 2024-03-08 54/week @ 2024-03-15 62/week @ 2024-03-22 96/week @ 2024-03-29 51/week @ 2024-04-05 59/week @ 2024-04-12 73/week @ 2024-04-19 67/week @ 2024-04-26 62/week @ 2024-05-03 70/week @ 2024-05-10 47/week @ 2024-05-17

259 downloads per month
Used in 5 crates (via sqlx-ts)

Apache-2.0/MIT

34KB
768 lines

Simulates unhygienic macro to make parser's code cleaner. It lives here because it's not a generic purpose macro (at all).

This can't be implemented with macro_rule! because rust does not support token munching (destructing $b:block into { $($t:tt)* }).

Dependencies

~1.5MB
~35K SLoC