Advertisement · 728 × 90
#
Hashtag
#nbbcljs
Advertisement · 728 × 90

New SCI version dropped which now supports async/await in CLJS!

And new #nbbcljs dropped which uses the newest SCI. Demo:

$ npx nbb@1.4.206

Welcome to nbb v1.4.206!
user=> (defn ^:async foo [] (let [x (await (js/Promise.resolve 1))] (inc x)))
#'user/foo
user=> (foo)
#<Promise 2>

#clojure

7 0 0 0
Preview
GitHub - babashka/nbb: Scripting in Clojure on Node.js using SCI Scripting in Clojure on Node.js using SCI. Contribute to babashka/nbb development by creating an account on GitHub.

Also since this is the first public mention of the Logseq CLI, I'd like to thank @borkdude.bsky.social for #nbbcljs. Rapid development and reuse of Logseq's core for the CLI is possible thanks to github.com/babashka/nbb

5 1 0 0
Post image

Nbb: the easiest way to script in ClojureScript on node, bun and deno

github.com/babashka/nbb

#clojure #clojurescript #nbbcljs

5 0 0 0
projects/multiplayer-tic-tac-toe/multiplayer-tic-tac-toe Multiplayer game with nbb and datastarAs a proof of concept I want to build a multiplayer game. The application consists of two pages:A welcome page that lets you select a game by idIf the game alread...

Multiplayer TicTacToe made with #nbbcljs and DataStar

gre.gorio.ch/projects/mul...

Deployed at multi-ttt-134n2qtfaad5.gregorybleiker.deno.net

#clojure #clojurescript

3 0 0 0
OSS updates May and June 2025 My Clojure OSS updates for May and June 2025

My project updates for May and June: 19 projects updated in total!

Thank you for sponsoring my work through Clojurists Together, Github Sponsors or otherwise!

(link in reply)

#clojure #babashka #scittlecljs #nbbcljs #squintcljs

2 0 1 0

It seems deno is currently the fastest at starting and executing something with #nbbcljs #clojure

$ time deno -A jsr:@babashka/nbb@1.3.202 -e '(+ 1 2 3)'
6
deno -A jsr:@babashka/nbb@1.3.202 -e '(+ 1 2 3)' 0,05s user 0,02s system 101% cpu 0,068 total

4 0 0 0
Post image

The nREPL server now works with deno too!

$ deno -A jsr:@babashka/nbb@1.3.202 nrepl-server

#clojure #nbbcljs

3 0 0 0
Post image

#nbbcljs can run on deno and now supports jsr: + npm: inline dependencies, so you don't need any config file or manually download dependencies for a single script!

#clojure #clojurescript

github.com/babashka/nbb...

4 0 2 0
Post image

The #squintcljs nREPL also works on @bunjavascript
Here is a little demo of changing the handler for a Bun.serve application.
(The same also works with #nbbcljs of course).
github.com/squint-cljs/...
#clojure #clojurescript

2 1 0 0
Post image

#nbbcljs also works on Android phone
#clojure #clojurescript

2 0 1 0