by dsabanin · 1y ago · 0 comments
Really, really nice and ergonomic. Made a few utility scripts today and enjoyed it much better than bash.
#!/usr/bin/env -S deno run
import { z } from "npm:zod";
import { Webview } from "jsr:@webview/webview";> If no node_modules directory is found in the working directory or higher, Bun will abandon Node.js-style module resolution in favor of the Bun module resolution algorithm.
> Under Bun-style module resolution, all imported packages are auto-installed on the fly into a global module cache during execution (the same cache used by bun install).