Hiroki Osame

@hirok.io

👤 hirok.io ⚡️ Creator of @tsx.is 📦 Creator of https://pkg-size.dev 💞 Open Source https://github.com/privatenumber 💼 SWE @ Square

If you work with images with text, or scanned documents, here's a small but powerful OCR CLI It leverages Apple's Vision Framework so it's completely local Tip: give it to your agent to save on vision tokens! → npx mac-ocr ./image.png github.com/privatenumbe...

Bild

New package: doctor-json 👨🏻‍⚕️ An util to manipulate JSON/JSONC while preserving their formatting and comments The API is so simple—manipulate the parsed object just like you would any plain object, and stringify! github.com/privatenumber/doctor-json

GitHub - privatenumber/doctor-json: Surgically edit JSON & JSONC strings while preserving whitespace, comments, and formatting

Surgically edit JSON & JSONC strings while preserving whitespace, comments, and formatting - privatenumber/doctor-json

github.com

I vaguely remember a TypeScript discussion where they were considering deprecating tsconfig#paths in favor of package.json#imports (but concluded it was too early?) I searched around but couldn't find it... Does this ring a bell for anyone?

Do yourself a favor and delete those hacks & brittle build steps you cobbled together, for your library to be consumable from both esm & cjs. 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 - privatenumber/pkgroll: 📦 Zero-config package bundler for Node.js + TypeScript

📦 Zero-config package bundler for Node.js + TypeScript - privatenumber/pkgroll

github.com

Does anyone use `npm install --production` in their project? I'm writing a blog post on package.json dependencies, and I can't find a practical use for this feature

Looking for a lightweight on-the-go setup 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 just realized Bluesky's "domain as a handle" feature and it's actually so cool! I get to see so many awesome domains people have that I've never seen brb as I check out everyone's websites...