wynd @wynd

Edit: alright ECMAScript Modules it is :D

should my library be common js or a module (this is gonna be an npm package)

aka should it beconst { Client } = require('libraryname')

or import { Client } from 'libraryname'

Jun 16, 2022, 10:10 PM
7

comments

There's literally no reason to do commonJS at this point - please use ESM.

Fair enough, I was leaning towards that because top level await™

Heck yeah, we love promises

Oh yeah, speaking of promises, this is entirely promise based 🎉

Post class coming soon :D