I’m releasing a library called biomine , a library for formatting JavaScript (TypeScript is also supported) and CSS code using the Biome Rust API. The library also supports formatting JavaScript code inside Phoenix LiveView Colocated Hook JS, but you need your project to upgrade phoenix_live_view to version 1.2 since the library uses the tag formatter feature.
Installation
Add
biomineto your list of dependencies inmix.exs:def deps do [ {:biomine, "~> 0.1.0"} ] endThe NIF ships as a precompiled binary via
rustler_precompiled, so you do not need a Rust toolchain to use this library — the matching artifact for your OS, architecture, and NIF version is downloaded automatically at compile time.
Feel free to give feedback on what you like/dislike.
Thank you






















