UNPKG

easter-egg-collection

Version:
933 lines (602 loc) โ€ข 16.4 kB
# ๐Ÿฐ easter-egg-collection <img width="160" alt="easter-egg-collection" src="http://i.imgur.com/pnVXOKz.png"> <br> [![NPM](https://nodei.co/npm/easter-egg-collection.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/easter-egg-collection/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Contribution Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/WeiChiaChang/easter-egg-collection) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![Welcome](https://img.shields.io/badge/%F0%9F%92%A1-examples-8C8E93.svg?style=flat)](https://github.com/WeiChiaChang/easter-egg-collection/blob/master/README.md#-documentation) [![ScoreMe](https://readme-score-api.herokuapp.com/score.svg?url=WeiChiaChang/easter-egg-collection)](https://readme-score-api.herokuapp.com/score.svg?url=WeiChiaChang/easter-egg-collection) [![dependencies status](https://david-dm.org/weichiachang/easter-egg-collection/status.svg)](https://david-dm.org/weichiachang/easter-egg-collection) [![devDependencies status](https://david-dm.org/weichiachang/easter-egg-collection/dev-status.svg)](https://david-dm.org/weichiachang/easter-egg-collection?type=dev) [![Known Vulnerabilities](https://snyk.io/test/npm/easter-egg-collection/badge.svg)](https://snyk.io/test/npm/easter-egg-collection) <img src="http://npm.packagequality.com/badge/easter-egg-collection.png"> > A javascript library which includes easter eggs. ## ๐Ÿ’ก Inspiration Original Source: Thanks to [Richard Denton](https://codepen.io/isdampe/pen/OXYZZO)! All of the images were derived from [GIPHY](https://giphy.com/). ## ๐Ÿ“– Documentation [Just have fun](https://weichiachang.github.io/Easter-egg)! ## ๐ŸŽ‰ Installation In a browser (CDN): ```html <script src="https://rawgit.com/WeiChiaChang/Easter-egg/master/easter-eggs-collection.js"></script> ``` Or using npm: ```javascript npm install easter-egg-collection --save-dev ``` Then in your JavaScript file: ```javascript import collection from 'easter-egg-collection' ``` Everything all done now! ![turtle](https://i.imgur.com/879dfXS.gif) ## โšก๏ธ Quick Start #### hi > Set your goals high, and don't stop till you get there ๐Ÿ‘‹ ```html <!-- There's no need to open console --> <!-- Just type 'hi' in your browser --> hi ``` ![Hi](https://i.imgur.com/gOuUuKp.gif) --- #### wink > Wink and shut their apprehensions up ๐Ÿ˜œ ```html <!-- There's no need to open console --> <!-- Just type 'wink' in your browser --> wink ``` ![Wink](https://i.imgur.com/N4mPiWW.gif) --- #### unicorn > I wish I were a unicorn, so I could stab idiots with my head ๐Ÿฆ„ ```html <!-- There's no need to open console --> <!-- Just type 'unicorn' in your browser --> unicorn ``` ![Unicorn](https://i.imgur.com/ZEVcTFq.gif) --- #### kumamon > But people who really know me, know that I am not a bad boy at heart... I am a big teddy bear ๐Ÿป ```html <!-- There's no need to open console --> <!-- Just type 'kumamon' in your browser --> kumamon ``` ![Kumamon](https://i.imgur.com/yzM5z1R.gif) --- #### haha > Behind every great man is a woman rolling her eyes โ˜บ๏ธ ```html <!-- There's no need to open console --> <!-- Just type 'haha' in your browser --> haha ``` ![Haha](https://i.imgur.com/n8CnIt2.gif) --- #### travel > Wherever you go, go with all your heart ๐ŸŒ‡ ```html <!-- There's no need to open console --> <!-- Just type 'travel' in your browser --> travel ``` ![Travel](https://i.imgur.com/Rhm6vpg.gif) --- #### bat > You gotta keep the ball off the fat part of the bat โšฐ ```html <!-- There's no need to open console --> <!-- Just type 'bat' in your browser --> bat ``` ![Bat](https://i.imgur.com/sOBEbn0.gif) --- #### robot > We're fascinated with robots because they are reflections of ourselves ๐Ÿค– ```html <!-- There's no need to open console --> <!-- Just type 'robot' in your browser --> robot ``` ![Robot](https://i.imgur.com/tBge8mr.gif) --- #### hiphop > That's what hip-hop is: It's sociology and English put to a beat, you know ๐ŸŽถ ```html <!-- There's no need to open console --> <!-- Just type 'hiphop' in your browser --> hiphop ``` ![Hiphop](https://i.imgur.com/JUHDJ0s.gif) --- #### hippo > You Deserve A Hippo Today ๐Ÿ˜Ž ```html <!-- There's no need to open console --> <!-- Just type 'hippo' in your browser --> hippo ``` ![Hippo](https://i.imgur.com/zz9G7i6.gif) --- #### pokeball > Keep Calm And Go ๐Ÿš€ ```html <!-- There's no need to open console --> <!-- Just type 'pokeball' in your browser --> pokeball ``` ![Pokeball](https://i.imgur.com/zUErX2s.gif) --- #### pie > So the pie isn't perfect? Cut it into wedges. Stay in control, and never panic ๐Ÿ• ```html <!-- There's no need to open console --> <!-- Just type 'pie' in your browser --> pie ``` ![Pie](https://i.imgur.com/YnR31FU.gif) --- #### ufo > From 1961 to 1965 Barney and I had not seen another UFO ๐Ÿ‘ฝ ```html <!-- There's no need to open console --> <!-- Just type 'ufo' in your browser --> ufo ``` ![Ufo](https://i.imgur.com/AkFfIv8.gif) --- #### walk > I am a slow walker, but I never walk back ๐Ÿšถ ```html <!-- There's no need to open console --> <!-- Just type 'walk' in your browser --> walk ``` ![Walk](https://i.imgur.com/6EvNP6y.gif) --- #### cool > My key to dealing with stress is simple: just stay cool and stay focused ๐Ÿ˜Ž ```html <!-- There's no need to open console --> <!-- Just type 'cool' in your browser --> cool ``` ![Cool](https://i.imgur.com/g0QSLmj.gif) --- #### balloon > What is success? It is a toy balloon among children armed with pins ๐ŸŽˆ ```html <!-- There's no need to open console --> <!-- Just type 'balloon' in your browser --> balloon ``` ![Balloon](https://i.imgur.com/4bOyiF2.gif) --- #### hangover > What in the world is a hangover cure? ๐Ÿท ```html <!-- There's no need to open console --> <!-- Just type 'hangover' in your browser --> hangover ``` ![Hangover](https://i.imgur.com/0IXYKXg.gif) --- #### kirby > "This grass feels funny," Kirby thought. "It feels like... pants." เผผ ใค โ—•_โ—• เผฝใค ```html <!-- There's no need to open console --> <!-- Just type 'kirby' in your browser --> kirby ``` ![Kirby](https://i.imgur.com/DnFQ1Gp.gif) --- #### no > No smoking ๐Ÿšฌ ```html <!-- There's no need to open console --> <!-- Just type 'no' in your browser --> no ``` ![No](https://i.imgur.com/lZK6DiW.gif) --- #### onmyway > Stressed? Why not walk it off ๐Ÿšถ ```html <!-- There's no need to open console --> <!-- Just type 'onmyway' in your browser --> onmyway ``` ![Onmyway](https://i.imgur.com/q0A5FzR.gif) --- #### haters > When there's so many haters and negative things, I really don't care ๐Ÿค” ```html <!-- There's no need to open console --> <!-- Just type 'haters' in your browser --> haters ``` ![Haters](https://i.imgur.com/plKHiwS.gif) --- #### board > Skate or die ๐Ÿ‘พ ```html <!-- There's no need to open console --> <!-- Just type 'board' in your browser --> board ``` ![Board](https://i.imgur.com/ewNWDS9.gif) --- #### snorlax > Just do it, later ๐Ÿ˜† ```html <!-- There's no need to open console --> <!-- Just type 'snorlax' in your browser --> snorlax ``` ![Snorlax](https://i.imgur.com/ABegxEv.gif) --- #### fly > I can't stop moving. I'm like this weird insect. I can't sit still in real life ๐Ÿ› ```html <!-- There's no need to open console --> <!-- Just type 'fly' in your browser --> fly ``` ![Fly](https://i.imgur.com/ggWk17I.gif) --- #### earth > Save earth to save life ๐ŸŒŽ ```html <!-- There's no need to open console --> <!-- Just type 'earth' in your browser --> earth ``` ![Earth](https://i.imgur.com/lu11Vnk.gif) --- #### thankyou > You can do anything, but not everything ๐Ÿ™ ```html <!-- There's no need to open console --> <!-- Just type 'thankyou' in your browser --> thankyou ``` ![Thank You](https://i.imgur.com/PXVdtZG.gif) --- #### swim > H2O = 2 parts heart, one part obsession ๐ŸŠ ```html <!-- There's no need to open console --> <!-- Just type 'swim' in your browser --> swim ``` ![Swim](https://i.imgur.com/7CKafBS.gif) --- #### penguin > Easy, breezy, beautiful penguin ๐Ÿง ```html <!-- There's no need to open console --> <!-- Just type 'penguin' in your browser --> penguin ``` ![Penguin](https://i.imgur.com/PFT49WH.gif) --- #### handsome > I'm a handsome man with a charming personality ๐Ÿ˜Ž ```html <!-- There's no need to open console --> <!-- Just type 'handsome' in your browser --> handsome ``` ![Handsome](https://i.imgur.com/pA30jqZ.gif) --- #### winner > Without losers, where would the winners be? ๐Ÿ† ```html <!-- There's no need to open console --> <!-- Just type 'winner' in your browser --> winner ``` ![Winner](https://i.imgur.com/aFJFC6W.gif) --- #### tank > If the tanks succeed, then victory follows โคต ```html <!-- There's no need to open console --> <!-- Just type 'tank' in your browser --> tank ``` ![Tank](https://i.imgur.com/6i9GRUQ.gif) --- #### jump > The only exercise I excel at is jumping to conclusions ๐Ÿ ```html <!-- There's no need to open console --> <!-- Just type 'jump' in your browser --> jump ``` ![Jump](https://i.imgur.com/zSTGofL.gif) --- #### fox > The fox changes his fur but not his habits ๐Ÿบ ```html <!-- There's no need to open console --> <!-- Just type 'fox' in your browser --> fox ``` ![Fox](https://i.imgur.com/OpdJKaM.gif) --- #### mario > Life is a game, kid! It all depends on how you play! ๐ŸŽฎ ```html <!-- There's no need to open console --> <!-- Just type 'mario' in your browser --> mario ``` ![Mario](https://i.imgur.com/entKupA.gif) --- #### joker > I can't wait to show you my toys ๐Ÿƒ ```html <!-- There's no need to open console --> <!-- Just type 'joker' in your browser --> joker ``` ![Joker](https://i.imgur.com/XYq7GTX.gif) --- #### rabbit > Maybe She's Born With It, Maybe It's Rabbit ๐Ÿ‡ ```html <!-- There's no need to open console --> <!-- Just type 'rabbit' in your browser --> rabbit ``` ![Rabbit](https://i.imgur.com/RlFylRn.gif) --- #### sensei > wa ka ri ma shi ta ๐Ÿซ ```html <!-- There's no need to open console --> <!-- Just type 'sensei' in your browser --> sensei ``` ![Sensei](https://i.imgur.com/FWQgtO9.gif) --- #### piggy > Here comes wild boar knight ๐Ÿท ```html <!-- There's no need to open console --> <!-- Just type 'piggy' in your browser --> piggy ``` ![Piggy](https://i.imgur.com/RZGnd1b.gif) --- #### psyduck > Psyduck with Big Bang ๐Ÿ’ฃ ```html <!-- There's no need to open console --> <!-- Just type 'psyduck' in your browser --> psyduck ``` ![Psyduck](https://i.imgur.com/Djl4oID.gif) --- #### dragon > If you can't take the heat, don't tickle the dragon ```html <!-- There's no need to open console --> <!-- Just type 'dragon' in your browser --> dragon ``` ![Dragon](https://i.imgur.com/jUlebex.gif) --- #### salamander > Are salamanders dangerous to humans? ```html <!-- There's no need to open console --> <!-- Just type 'salamander' in your browser --> salamander ``` ![Salamander](https://i.imgur.com/QEkFN7W.gif) --- #### airguitar > Just be like a guitar hero dude ```html <!-- There's no need to open console --> <!-- Just type 'airguitar' in your browser --> airguitar ``` ![Airguitar](https://i.imgur.com/JSgV7v5.gif) --- #### pikachu > A pikachu will show up from the bottom with ligntning sound ```html <!-- There's no need to open console --> <!-- Just type 'pikachu' in your browser --> pikachu ``` ![Pikachu](https://i.imgur.com/HsnDIk0.gif) --- #### bravo > A man's clapping with funny smile ```html <!-- There's no need to open console --> <!-- Just type 'bravo' in your browser --> bravo ``` ![Bravo](https://i.imgur.com/7UehQva.gif) --- #### ghost > A ghost's floating from the right to the left ```html <!-- There's no need to open console --> <!-- Just type 'ghost' in your browser --> ghost ``` ![Ghost](https://i.imgur.com/olm7u2x.gif) --- #### britney > A beauty called Britney will blink at you ```html <!-- There's no need to open console --> <!-- Just type 'britney' in your browser --> britney ``` ![Britney](https://i.imgur.com/DvwoNWS.gif) --- #### pikarun > A lovely pikachu's running like a flash ```html <!-- There's no need to open console --> <!-- Just type 'pikarun' in your browser --> pikarun ``` ![Pikarun](https://i.imgur.com/CX6WuNh.gif) --- #### catrun > I love cat, so let the cat out ```html <!-- There's no need to open console --> <!-- Just type 'catrun' in your browser --> catrun ``` ![Catrun](https://i.imgur.com/fMu33z0.gif) --- #### koggy > No koggy, no happiness ```html <!-- There's no need to open console --> <!-- Just type 'koggy' in your browser --> koggy ``` ![Koggy](https://i.imgur.com/OWPt85z.gif) --- #### sonic > Classic Super Sonic with vivid animation ```html <!-- There's no need to open console --> <!-- Just type 'sonic' in your browser --> sonic ``` ![Sonic](https://i.imgur.com/zrqaPGm.gif) --- #### doggy > Classic Super Doggy with vivid animation ```html <!-- There's no need to open console --> <!-- Just type 'doggy' in your browser --> doggy ``` ![Doggy](https://i.imgur.com/aE3wMr6.gif) --- #### spongebob > Spongebob is your best friend ```html <!-- There's no need to open console --> <!-- Just type 'spongebob' in your browser --> spongebob ``` ![Spongebob](https://i.imgur.com/gmGfyce.gif) --- #### gun > Where is your gun? ```html <!-- There's no need to open console --> <!-- Just type 'gun' in your browser --> gun ``` ![Gun](https://i.imgur.com/cz8iq8n.gif) --- #### money > Pay money to my pain ```html <!-- There's no need to open console --> <!-- Just type 'money' in your browser --> money ``` ![Money](https://i.imgur.com/Q2W7OXx.gif) --- ## homer > Wise man Homer ```html <!-- There's no need to open console --> <!-- Just type 'homer' in your browser --> homer ``` ![Homer](https://i.imgur.com/fzJcnSD.gif) --- ## dog > Dogs are human best friends ```html <!-- There's no need to open console --> <!-- Just type 'dog' in your browser --> dog ``` ![Dog](https://i.imgur.com/QDi8sbM.gif) --- ## bird > Stupid birds fly slowly ```html <!-- There's no need to open console --> <!-- Just type 'bird' in your browser --> bird ``` ![Bird](https://i.imgur.com/aAsrMKo.gif) --- ## piqiu > A piqiu a day keeps worries away ```html <!-- There's no need to open console --> <!-- Just type 'piqiu' in your browser --> piqiu ``` ![Piqiu](https://i.imgur.com/3OVA8hx.gif) --- ## lol > Haha, you're funny ```html <!-- There's no need to open console --> <!-- Just type 'lol' in your browser --> lol ``` ![Lol](https://i.imgur.com/JzT4AaR.gif) --- ## ohhh > Mordecai & Rigby with OHHHHHHHHHHHHHH sound ```html <!-- There's no need to open console --> <!-- Just type 'ohhh' in your browser --> Ohhh ``` ![Ohhh](https://i.imgur.com/3f70bsr.gif) --- ## nyancat > Nyan nyan nyan nyan nyan nyan nyan nyan ```html <!-- There's no need to open console --> <!-- Just type 'nyancat' in your browser --> nyancat ``` ![Nyancat](https://i.imgur.com/WcTBXUW.gif) ## ยฉ๏ธ License (The MIT License) Copyright (c) 2017 - WeiChiaChang - https://codepen.io/isdampe/pen/OXYZZO Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.