Commands installed into system folders should not have extensions. Its not relavant to the users of commands what language a command is written in. OSs use the shebang syntax to determine what engine should process a text script file.
$ cat /user/bin/mycmd
#!/usr/bin/env node
console.log('Hello World');