esmock is 50% smaller! 16.6kB (from 31.8kB)
esmock is 50% smaller and minified sources are verified by the CI pipeline. Unit-tests are moved to a sub-directory to prepare for testing situations using specific runner and loader combinations, for example ava
+ ts-node/esm
get the latest version with npm install -D esmock@latest
The size of esmock was reduced from 31.8kB to 16.6kB with the following changes,