What does HackerNews think of nbb?

Scripting in Clojure on Node.js using SCI

Language: Clojure

#9 in Clojure
#42 in JavaScript
#16 in Node.js
#3 in JavaScript
The SCI/babashka clojure interpreter might be a good fit, if you're ok with a lisp.

It's mature and fully sandboxed.

https://github.com/babashka/nbb

I have a use case for Joker. Babashka doesn't support *BSD because GraalVM doesn't, so on *BSD your options are Joker and https://github.com/babashka/nbb. I wrote a short comment comparing them: https://github.com/babashka/babashka/issues/721#issuecomment....
I wish there was something elaborated for scripts that run on Node. I've been using nbb[1] for scripting, and although it all runs through Node.js, it is fast to start up and quick to prototype/debug scripts. The best part is in CI I can simply `npx nbb path/to/script.cljs`. Things get clunky if I want to use anything outside of the Node stdlib (or the few things that come out of the box, like tools.cli for command-line argument parsing) though, since then you need the dreaded node_modules folder around.

[1] https://github.com/babashka/nbb

I think that’s a neat idea because I’ve been wanting something like this for several weeks :)

Please consider adding ClojureScript via nbb[0] as a language option.

[0] https://github.com/babashka/nbb

I recently found lq (logseq-query), it lets you run and manage queries against your logseq graph. Built using nbb (Clojure for Node.js)

https://github.com/cldwalker/logseq-query

https://github.com/babashka/nbb

There's also NBB (Node Babashka) also by borkdude, which could also be a good option for serverless.

https://github.com/babashka/nbb

I prefer to use nbb[0] for this, or babashka[1] when I need to use stuff specific to JVM.

[0]: https://github.com/babashka/nbb [1]: https://babashka.org/