How to use Node.js functionality within JS files?

I’m trying to program a backend server to store files and stuff. From what I read online, you have to use Node.js for this, but right now, I only have regular native JS files. How can I make it such that these files have Node.js functionality as well?