DEV Community

loading...

Discussion on: New npm package that may help you with JavaScript

Collapse
okikio profile image
Okiki

It looks awesome, but I'd suggest not using a class, it's best to export each of those methods as individual functions that can be treeshaken at build time

Collapse
ali559 profile image
Ali Mohammed

Couldn't agree more