npm / node mining for litecoins
The answer to this is yes, it will. Mining can be done on most turing-complete languages like Javascript. But the true question is how useful is a JavaScript miner. Not to mention Node.js is optimized towards asynchronicity, something which heavy math equations that mining requires aren't. Node.js isn't suitable for CPU heavy tasks but it flies when dealing with many requests at the same time. For this reason there aren't many miners built on Node.js/Javascript. A miner written in C++ is your best bet, such as CGMiner.