I recently released a JavaScript Object Signing and Encryption library to opam.
The main usecase for JOSE is JWT and JWK and is a comprehensive library for both unlike some other libraries that currently exist in the ecosystem. It uses mirage-crypto and supports RSA and OCT keys currently and will support EC when mirage-crypto does.
I have not really implemented the encryption part yet but if anyone needs JWE I’ll gladly do the work or accept PRs.
The project was initially developed in Reason but I changed over to OCaml at some point because of limitations in Reason at the time but the repo still has the old name.
The docs can be found here: https://ulrikstrid.github.io/reason-jose/
The repo can be found here: https://github.com/ulrikstrid/reason-jose/