Quite similar to cheet.js (sic):
https://namuol.github.io/cheet.js/
There's is a little more feature rich, but 2x as many characters minified (appro. 3K for cheet.js Vs 1.5K for Egg.js) which does matter for an Easter Egg in my opinion (as it should be as close to "free" as possible).