test, check, syntax
Yes. To install on RedHat/Fedora/CentOS:
dnf install nodejs
I find this very handy. You can check the syntax of code that you
might use on a website.
There used to be package called just "js" which was
Mozilla SpiderMonkey but its not an available package any more.
You can still build it from source.