process.js-for-HackerRank
#nodejs #polyfill #browser #hackerrank #node-js #client-side #hackerrank-solutions #hackerrank-javascript #hackerrank-30dayschallange #hackerrank-challenges
https://github.com/DarrenSem/process.js-for-HackerRank (might have more recent updates/improvements)
https://darrensem.github.io/process.js-for-HackerRank/
Minimal polyfill (324 characters minified) for client-side JS to add missing NodeJS functions for completing HackerRank.com challenges -- process.stdin/stdout/env.OUTPUT_PATH and require("fs").createWriteStream
(So I can complete HackerRank.com challenges on my cell using my custom REPL bookmarklet.)