Here's the problem: How do I check the version of node from inside the running app? Fortunately, the answer is easy. Node's global process object has a version property that contains all the info you'll need.
console.log(process.version);
// v0.8.5
Here's the problem: How do I check the version of node from inside the running app? Fortunately, the answer is easy. Node's global process object has a version property that contains all the info you'll need.
console.log(process.version);
// v0.8.5
Graduate of Rose-Hulman Institute of Technology with a degree in software engineering. Software Consultant and User Experience Expert.
Writing at Tech.Pro can help you
get recognized, spread knowledge, and
inspire others. We are in alpha at the
moment but seeking out talented writers.
Write with Us
Sign up to our Newsletter for a weekly digest of the most popular blogs & tutorials.
Post a Comment
Comments ()