Comment

Comment by wavephorm

Maybe not a shell, but for simple scripts you can save your js code with the following at the top:

  #!/usr/bin/env node
Then save the file as "myscript" and run it as any other executable. Node already has a repl for experimentation.
parent wavephorm 15 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton