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 56/week @ 2024-03-11 65/week @ 2024-03-18 61/week @ 2024-03-25 95/week @ 2024-04-01 52/week @ 2024-04-08 67/week @ 2024-04-15 70/week @ 2024-04-22 65/week @ 2024-04-29 57/week @ 2024-05-06 71/week @ 2024-05-13 59/week @ 2024-05-20 67/week @ 2024-05-27 27/week @ 2024-06-03 147/week @ 2024-06-10 49/week @ 2024-06-17 56/week @ 2024-06-24

288 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

~315–770KB
~18K SLoC