3 ms·
I have not used it in production yet, but it's been great for one-off scripts and side projects. Setting up a TypeScript Node environment with ts-node, ts-jest,
by Stoids 2y ago
I have not used it in production yet, but it's been great for one-off scripts and side projects. Setting up a TypeScript Node environment with ts-node, ts-jest, ESM support, top level await, etc. is more annoying than it should be. More recent Node releases have alleviated some of this pain, but not as trivial as running bun init.
I've enjoyed using the bun shell [1] API.
[1] https://bun.sh/blog/the-bun-shell https://bun.sh/blog/the-bun-shell
- lvncelot 2y agoOhh bun shell looks interesting. I was looking at zx[1] for some frontend pipeline scripting tasks that were just beyond maintainable bash, but maybe I'll give bun shell a go. [1] https://github.com/google/zx https://github.com/google/zx
- drewbitt 2y agoBun shell has less features than zx or dax https://github.com/dsherret/dax https://github.com/dsherret/dax. I tried it out but had to change tooling.