⚡️ Creator of @tsx.is
📦 Creator of https://pkg-size.dev
💞 Open Source https://github.com/privatenumber
💼 SWE @ Square
While continuously tweaking the performance, the minifier is already outperforming `esbuild` in terms of speed and size.
Check out the benchmark by @hirok.io for perf comparison.
github.com/privatenumbe...
While continuously tweaking the performance, the minifier is already outperforming `esbuild` in terms of speed and size.
Check out the benchmark by @hirok.io for perf comparison.
github.com/privatenumbe...
No more manual analysis—read which minifier is best for your needs
It's also really entertaining to read:
github.com/privatenumbe...
No more manual analysis—read which minifier is best for your needs
It's also really entertaining to read:
github.com/privatenumbe...
I searched around but couldn't find it...
Does this ring a bell for anyone?
I searched around but couldn't find it...
Does this ring a bell for anyone?
Use it to:
- Tree-shake unused types
- Bundle in private monorepo deps
- Improve type-checking perf
👉 github.com/privatenumber/dtsroll
Use it to:
- Tree-shake unused types
- Bundle in private monorepo deps
- Improve type-checking perf
👉 github.com/privatenumber/dtsroll
🌟 10k GitHub stars
⬇️ 19.5M downloads a month
Thank you everyone ❤️
🌟 10k GitHub stars
⬇️ 19.5M downloads a month
Thank you everyone ❤️
If you haven't yet because of the errors it produces, I made an auto-fixer:
github.com/privatenumbe...
If you haven't yet because of the errors it produces, I made an auto-fixer:
github.com/privatenumbe...
It would be great to be able to import text files and create a run-time dependency on it:
```ts
import fileContent from './file.txt' with { type: 'text' }
```
nodejs.org/api/esm.html...
It would be great to be able to import text files and create a run-time dependency on it:
```ts
import fileContent from './file.txt' with { type: 'text' }
```
nodejs.org/api/esm.html...
You may be making expensive trade-offs without realizing it
Here's a breakdown of the risks and better alternatives:
👉 hirok.io/posts/importing-source-files-in-dev
You may be making expensive trade-offs without realizing it
Here's a breakdown of the risks and better alternatives:
👉 hirok.io/posts/importing-source-files-in-dev
Then simply make sure your package.json declares the entrypoints you want & let pkgroll by @hirok.io do the rest!
What a delightful little tool ❤️
Then simply make sure your package.json declares the entrypoints you want & let pkgroll by @hirok.io do the rest!
What a delightful little tool ❤️
github.com/eslint/css/i...
github.com/eslint/css/i...
react.dev/learn/lifecy...
I rarely use React, but this feels kind of hacky to me
I feel like the framework beginners learn web dev with should set better examples of semantic & readable code
react.dev/learn/lifecy...
I rarely use React, but this feels kind of hacky to me
I feel like the framework beginners learn web dev with should set better examples of semantic & readable code
I'm writing a blog post on package.json dependencies, and I can't find a practical use for this feature
I'm writing a blog post on package.json dependencies, and I can't find a practical use for this feature
I have a 16” MBP and I’d like something lighter…
Has anyone tried something like Mac mini with Tailscale, VNCing in from iPad with keyboard + trackpad?
Thinking it would be nice to be able to pick up where I left off at home but worried about battery
I have a 16” MBP and I’d like something lighter…
Has anyone tried something like Mac mini with Tailscale, VNCing in from iPad with keyboard + trackpad?
Thinking it would be nice to be able to pick up where I left off at home but worried about battery
If you publish packages to NPM, this is a must-read.
Also, check out the `publint` by @bluwy.me. It saved us from so many mistakes 👌
I wrote a guide to break it down and walk you through it!
👉 hirok.io/posts/node-exports-guide
If you publish packages to NPM, this is a must-read.
Also, check out the `publint` by @bluwy.me. It saved us from so many mistakes 👌
I wrote a guide to break it down and walk you through it!
👉 hirok.io/posts/node-exports-guide
I wrote a guide to break it down and walk you through it!
👉 hirok.io/posts/node-exports-guide
Here are the results:
sponsors.svg: 2.94 MB → 1.26 MB
sponsors.wide.svg: 2.94 MB → 1.27 MB
sponsors.past.svg: 2.15 MB → 919 KB
sponsors.circles.svg: 2.99 MB → 1.39 MB
More than 50% reductions for every file! 👍
Here are the results:
sponsors.svg: 2.94 MB → 1.26 MB
sponsors.wide.svg: 2.94 MB → 1.27 MB
sponsors.past.svg: 2.15 MB → 919 KB
sponsors.circles.svg: 2.99 MB → 1.39 MB
More than 50% reductions for every file! 👍
I get to see so many awesome domains people have that I've never seen
brb as I check out everyone's websites...
I get to see so many awesome domains people have that I've never seen
brb as I check out everyone's websites...