Skip to content

Instantly share code, notes, and snippets.

View ARJ-HADES's full-sized avatar
☢️

Arjun ARJ-HADES

☢️
View GitHub Profile
@ajace
ajace / prime_generator.js
Last active October 5, 2020 03:03
nodejs script to generate prime numbers
#!/usr/bin/env node
var fs = require('fs');
var outfile = "primes.txt";
var count = 0;
var maxCount = 100;
var primes = [];
var i = 2;