Article 6QMJ4 How do I run a javascript file?

How do I run a javascript file?

by
RandomTroll
from LinuxQuestions.org on (#6QMJ4)
I try to load it in firefox, which displays it as though it is a text file. I have nodejs, but node doesn't work the way the pages I find on the web say it should. Usually it displays the text of the file, then reports an error, then exits. I'm trying to parse bluetooth ids with bluetooth-numbers-database, which I downloaded from github.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments