You can use simple-statistics with node.js by installing it with npm.

npm install --save simple-statistics

The npm package is usable in node.js, io.js, and the web via browserify or webpack.

You can also use simple-statistics in webpages from unpkg: