squint 2026-04-04

How would squint libs work with CLJS libs? Could you publish a squint lib to npm and then consume that from CLJS as a regular JS lib? And then what would interoperability look like calling into the squint lib from cljs? Wondering if you'd want to make a lightweight lib with squint and then offer it to the CLJS ecosystem in some situations, where you might want to be outside the Closure compilation for the lib...

Doing a little research, it looks like squints data abstractions wouldn't not work across lib, unless you're not using collections. Maybe something like cljs-bean could bridge them...

> Could you publish a squint lib to npm and then consume that from CLJS as a regular JS lib? I'd say so yes

Interop would look like interop-ing with any other JS lib

I have several projects that are both squint and CLJS compatible so you have benefits of both worlds

Reader conditionals you know