
Online bundler, public API & npm package size checker by @okikio_dev - https://xitter.cf/t.co/1LBoCxFPbT - https://xitter.cf/t.co/1jPNMmiYBk…
Joined April 2022
- Tweets148
- Following81
- Followers147
- Likes452
Pinned Tweet
I know I'm late but I wanted to polish it up. You can now use it at deno.bundlejs.com or edge.bundlejs.com both work, just use the share url queries you know and love... and get a bundle size badge, polyfilled bundle, metafile, json response, etc...
🧵
/1
Launching bundlejs's api tmrw...it's built w/ @deno_land deploy and designed to be feature rich, I'm excited for yall to give it a try 🤗
the bundlejs API has been greatly optimized and it's now extremely fast, I don't have any strict numbers but it doesn't skip a beat...
xitter.cf/jsbundle/status/206313…
calling all bundlejs users, I'm trying to stress test the API and fix any remaining edge cases, thus far tarballs are now supported, jsr is as good as rain, etc...
There should be very few packages that fully break the bundlejs api anymore, so throw me your challenging package.
I'm trying to move the bundlejs API to @Cloudflare Workers, I'm thinking it might potentially improve the reliability of the service but I keep hitting the 3 MB file limit cap.
you can play around with react-native by cloning the demo from the `okikio/bundlejs-api` repo github.com/okikio/bundlejs-a…
bundlejs retweeted
if yall have ever wanted to know how @jsbundle works under the hood, you now can through the power of devin i guess
oh wow this is fantastic
Replying to @flamrdevs
Project built with SolidStart
Thanks to @npmjs , @jsbundle for public API
github.com/flamrdevs/npmxt
bundlejs retweeted
I am a regular user of npmgraph. Thanks for letting me know about pkg-size.dev
Another neat project is @jsbundle (github.com/okikio/bundlejs). It computes minified and gzipped size.
A couple quick updates...the API is now caught up with the updates to the website, including but not limited to the package install size
Same
One of the things that brings a smile to my face, is when when I see a bundle size then click the link for the bundle size and it leads to bundlejs (cc @jsbundle )
Added support for package publish sizes in bundlejs, give it a try
Thanks @artalar for opening the github issue
What do y'all think? The current syntax is basically unshareable, it is also very unstable and breaks too easily, it's tough to setup versions for it as well...so, I'd love you takes on this new version
Thinking of modifying @jsbundle's share URL syntax, for long term stability, readability, and easy sharing
Thoughts.... gist.github.com/okikio/29162…
bundlejs retweeted
TIL, I had a bunch of bundlejs prs that were just languishing where I solved a number of bugs but just kinda forgot about...
I've now re-fixed a number of these bugs, but separately 😅
I'm now cleaning up older prs
Great news, bundlejs now supports jsr.io packages (cc @deno_land)
Just add `jsr:..` and you're good.
PS. Under the hood it's just using esm.sh by @jexia_
BTW, I recommend checking out @brielov's `@oxi/result` on jsr, it's a wonderful package
TIL, each browser and runtime implements gzip and the CompressionStream slightly differently that's why the compression results for bundlejs in both the API and the Browser are just a couple KB's off.
BTW, even Deno, and Node.js implement it slightly differently
bundlejs retweeted
Try @deno_land 🦕 modules in @livecodes_io playgrounds
livecodes.io/?x=id/fav4mpibj…
TypeScript modules can be imported directly from deno.land
import { sprintf } from "deno.land/[email protected]/fmt/pr…";
uses @jsbundle by @okikio_dev
#LiveCodes
Loving that Deno has `sprintf` available 🥳
deno.land/[email protected]/fmt/pr…
Always found it strange that JS supports formatting strings in `Console` methods, but then you never get to use it anywhere else












