ar.al🌻 · @aral
25018 followers · 19526 posts · Server mastodon.ar.al

Tape implemented support for ECMAScript modules a little while ago so you no longer need my ESM Tape Runner module for most things. However, if you want to unit test experimental ES Module Loaders, it’s still useful.

github.com/small-tech/esm-tape

Also, if you want a cute monkey to report your TAP results, see Tap Monkey (github.com/small-tech/tap-monk)

#tap #ESModuleLoaders #ECMAScriptModules #esm #tape #unittesting #javascript #js

Last updated 2 years ago

ar.al🌻 · @aral
21222 followers · 19353 posts · Server mastodon.ar.al

CommonJS → ECMAScript Modules (ESM) in Node.js

I hope this post with my experiences from yesterday’s refactor are helpful for you if and when you undertake a similar task.

ar.al/2021/01/27/commonjs-to-e

#javascript #js #nodejs #ECMAScriptModules #esm #CommonJS

Last updated 4 years ago