renderjson
renderjson copied to clipboard
WIP Convert to typescript
This converts renderjson to typescript. Typescript has a number of benefits like type safety, catching common mistakes, easier refactoring, and better intellisense.
It also adds tests to make sure things are still working.
Make sure to run prePublish
before publishing a new version.
Although theoretically backwards compatible, this is a major change so I've updated the version number to v2 just to be safe.
Unfortunately I just realized it doesn't work in the browser because of the use of "exports".... crap
Why is the JS ecosystem so complicated?? 😭
WIP = work in progress (don't merge yet)