Is there a library that allows me to do a eval action using a very limited subset of javascript? Som

Is there a library that allows me to do a eval action using a very limited subset of javascript? Something that fast. I was looking at edge runtime by vercel but that looking really heavy...
Was this page helpful?