RESTHeart Services and Interceptors can be developed in JavaScript and TypeScript when running RESTHeart with the GraalVM or using RESTHeart native.
https://restheart.org/docs/framework/javascript-plugins
We need to document how to leverage this capability with Facet.