Little node.js script that writes the first 100 prime numbers to a file