Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

A Gatsby plugin that easily adds a hidden key combination which reveals hidden fun[ctionality]

License

Notifications You must be signed in to change notification settings

mike-zarandona/gatsby-plugin-easter-egg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-plugin-easter-egg

A Gatsby plugin that easily adds a hidden key combination which reveals hidden fun[ctionality]

💜🔌🐰🥚

Installation

Install with npm:

npm install --save gatsby-plugin-easter-egg

Install with yarn:

yarn add gatsby-plugin-easter-egg

Configuration

After installing gatsby-plugin-easter-egg, add it to gatsby-config.js:

module.exports = {
  plugins: [
    // ...
    `gatsby-plugin-easter-egg`
  ]
};

Options

gatsby-plugin-easter-egg exposes a few options which can be used to customize and test the plugin.

Option Default Description
sequence up up down down left right left right b a enter Defaults to the Konami Code, can be set to anything. See documentation for more key capture information
debug false Displays console debug information, and exposes the secret function on the Window
module.exports = {
  plugins: [
    // ...
    {
      resolve: `gatsby-plugin-easter-egg`,
      options: {
        sequence: `a s d f`,
        debug: true
      }
    }
  ]
};

License

MIT

About

A Gatsby plugin that easily adds a hidden key combination which reveals hidden fun[ctionality]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published