Hacker News new | ask | show | jobs
by bryzaguy 884 days ago
This is so cool! Is it too late to change the import name? I immediately thought of jquery when seeing "$".
2 comments

Hmm you have a point but I don't think it's a problem since this is for the cli instead of the browser. Plus $ is pretty common in the shell to indicate the prompt.

    import { $ as sh } from "bun";
(if you're coming from old school client side javascript I can see the momentary confusion (and in fact I had to blink myself), but in a shell script $ making you think of a shell prompt nonetheless seems like a pretty reasonable default to me)