npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2024 โ€“ย Pkg Stats / Ryan Hefner

easter-egg-mobile

v1.0.4

Published

๐Ÿ“ฑ Trigger easter eggs on mobile device!

Downloads

12

Readme

๐Ÿ“ฑ easter-eggs-mobile

mitLicense npmPackage vulnerabilities scoreMe

It's the special version which extended from easter-egg-collection this library for user to trigger lots of easter eggs on mobile device by ๐Ÿ‘† clicking or tapping with ease.

easter-egg-mobile

๐Ÿค˜ Live Demo

๐Ÿ’ก Inspiration

Original Source: Thanks to Richard Denton!

All of the images were derived from GIPHY.

๐ŸŽ‰ Installing / Getting started

CDN ๐Ÿ‘‡

<script src="https://rawgit.com/WeiChiaChang/easter-eggs-mobile/master/scripts/easter-egg-mobile.js"></script>

NPM ๐Ÿ‘‡

npm i easter-egg-mobile -D

For Vue users, setup these commands in your single component file :

import easterEggMobile from 'easter-egg-mobile'

And don't forget trigger easter eggs when it mounted already :

export default {
  data () {
    return {
      ...
    }
  },
  // Trigger easter eggs when mounted
  mounted: function () {
    easterEggMobile
  }
}

Magic will show with a tiny setting on HTML, keep going ! ๐Ÿ’ช

Add class name and data-src attribute on <a> tags in your HTML structure, take ghost for example :

<a class="gif-ghost" data-src='./images/ghost.gif'>Ghost</a>

So if you want to use pikachu, that would be :

<a class="gif-pikachu" data-src='./images/pikachu.gif'>Pikachu</a>

The rest of easter eggs follow this way as well ๐ŸŽ‰ , now enjoy it ! ๐Ÿพ

This table can help you find out easter eggs as required :

๐Ÿฐ easter egg class | ๐Ÿ“Š data-src | ๐Ÿ’ฏ original source ------------------- | ----------- | ----------------- gif-pikachu | https://goo.gl/x3rX4r | https://i.giphy.com/uXnif9JVu6VnW.gif gif-airguitar | https://goo.gl/qEhWwZ | https://i.giphy.com/7yfb0x166Coms.gif gif-ghost | https://goo.gl/4EwYZr | https://i.giphy.com/YoypIsUmXXI52.gif gif-dog | https://goo.gl/aQVAXH | https://i.giphy.com/4wLJ8aC0V68x2.gif gif-hangover | https://goo.gl/aWj4U2 | https://i.giphy.com/uDvz51Hu6PONi.gif gif-winner | https://goo.gl/5vcgPj | https://i.giphy.com/3oKIPwZVHEiM2B3ljq.gif gif-psyduck | https://goo.gl/UQL2ak | https://i.giphy.com/7gmk89ezqSjFS.gif gif-salamander | https://goo.gl/6ZJv2q | https://i.giphy.com/Ny6WEYvBuBvDW.gif gif-jump | https://goo.gl/EPJRmw | https://i.giphy.com/yqwAxqYAqKTmw.gif gif-pokeball | https://goo.gl/TBGpoK | https://i.giphy.com/87XjvflDBlPMc.gif gif-rabbit | https://goo.gl/an1sF1 | https://i.giphy.com/ClZz9cJstGjuM.gif gif-penguin | https://goo.gl/by1APG | https://i.giphy.com/12GEN4WSKIBYnC.gif gif-jumpingbird | https://goo.gl/m1cdht | https://i.giphy.com/d3ywbrOKTC2283KM.gif gif-haters | https://goo.gl/DuMKq4 | https://i.giphy.com/L2ZFgodrsQs6s.gif gif-dragon | https://goo.gl/P3hA5U | https://i.giphy.com/CJRIOrrkmtBOo.gif gif-money | https://goo.gl/frKxMS | https://i.giphy.com/sBoohCuSRNYv6.gif gif-robot | https://goo.gl/yV2gVM | https://i.giphy.com/7ER2Unn4hwhJ6.gif gif-spongebob | https://goo.gl/CxR6Xq | https://i.giphy.com/FxAYkQqdw63hC.gif gif-handsome | https://goo.gl/2Kz7Xf | https://i.giphy.com/aXPw3suOkxrBC.gif gif-no | https://goo.gl/1Gx1dY | https://i.giphy.com/l1ibixfnM4qGI.gif

๐Ÿค“ Developing

Setting up Dev

A quick introduction of how to use easter-eggs-mobile, first of all:

git clone https://github.com/WeiChiaChang/easter-eggs-mobile.git

Then install pingy as front-end build tool:

Save your life, save your time

npm install @pingy/cli --global

Last step, install all of the modules:

npm install

Type this command with your favorite iterm2:

pingy dev

Everything all done now! turtle

Deploying / Publishing

Export website to a folder for distribution and ready for deploying:

pingy export

ยฉ๏ธ License

MIT ยฉ WeiChiaChang