unassert-js / unassert

Encourages programming with assertions by providing tools to compile them away.
MIT License
192 stars 13 forks source link

feat: unassertCode function #43

Open RebeccaStevens opened 1 year ago

RebeccaStevens commented 1 year ago

Based off #42 (merging this will also merge that one's changes (closes #42)).

This function is designed to work on the code rather than the ast (an ast is still required in order to navigate the code).

I also added a large amount of JSDoc to the source code to help with typings.

RebeccaStevens commented 1 year ago

Ping @okunokentaro @twada