Also if you'd like to write comparative reviews of different JS libraries (like a Wirecutter for JS libraries), drop us a line in our DMs or at melissa@skypack.dev. We can pay you for your work on this.
Those bundlers also lean into ES Modules in a way bundlers-of-yore don't really.
Fancy new frameworks are leaning into ES Modules too: toast.dev/
They make things so easy! Peep this emoji picker in ONE line of JavaScript & ONE line of HTML: codepen.io/chriscoyier/pen/g…
esjest-transform 0.0.1: a jest transform powered by esbuild, with support for mocking and coverage stats. npmjs.com/package/esjest-tra…
sharing unpolished work so you can take it for a spin!
This whole thread made me wonder if d3 worked with @deno_land and @skypackjs and sure enough, @Rich_Harris's example works pretty well, see for yourself gist.github.com/wperron/8bfa…
not a guarantee that d3 in its entirety works with deno though, but interesting nonetheless
Wrangling dates and times in JavaScript can be a headache. JavaScript date libraries provide user-friendly APIs and useful utilities that alleviate some of that pain.
{ author: @McEwenInt8Array } #DEVCommunitydev.to/skypack/the-best-java…
We picked @date_fns as the best js date library:
🔌ESM examples in docs
🎋Easy to tree-shake
🛠Tons of useful utilities
Read our detailed review here:
skypack.dev/blog/2021/02/the…
Nifty: if a package's "main" is a css file, you can now load that CSS via the base package Skypack url. Works great with one of our fav prototyping tools, MVP.css by @AndyBrewercodepen.io/melissamcewen/pen…
ALT // mvp/package.json "name": "mvp.css", "version": "1.6.3", "description": "A minimalist stylesheet for HTML elements", "main": "mvp.css", // Before https://cdn.skypack.dev/-/mvp.css@v1.6.3-2RSlEnunPvK79GKun5vu/dist=es2020,mode=raw/mvp.css // After https://cdn.skypack.dev/mvp.css
Deno users: ever been blocked by an incompatible Node.js import like "stream" or "buffer"? Skypack now swaps Node.js imports with their #Deno native polyfill, automatically! 🦖🦖🦖 skypack.dev/blog/2021/02/sky…
Love this post by @skypackjs about date libraries. I've been using momentJS for a while so it's great to get alternatives as it's so large and not being recommended anymore.
skypack.dev/blog/2021/02/the…