cheap-glitch / mi-cron

📆 A microscopic parser for standard cron expressions.
https://npm.im/@cheap-glitch/mi-cron
ISC License
18 stars 2 forks source link

Turn into native ES module #10

Open fregante opened 1 week ago

fregante commented 1 week ago

The package is currently being bundled, minified and turned into a CJS module. This seems unnecessary for a node package. It'd be great to drop all that and export a proper ES module

https://www.unpkg.com/browse/@cheap-glitch/mi-cron@1.0.1/index.js

fregante commented 1 week ago

Also technically the types are wrong because the .ts file (which is used as types only) exports ESM, but the actual .js file is CJS.