use2137

1.0.1 • Public • Published

use2137

React Hook that listens for user to type 2137 and calls a callback function. Good to hide cenzo easter egg on your website

NPM JavaScript Style Guide

Install

npm install --save use2137

Usage

import React, { Component } from 'react'

import use2137 from 'use2137'

const Example = () => {
  use2137(() => alert('jp2gmd'))
  return (
    <div>xd</div>
  )
}

License

MIT © bimbenders


This hook is created using create-react-hook.

/use2137/

    Package Sidebar

    Install

    npm i use2137

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.24 MB

    Total Files

    22

    Last publish

    Collaborators

    • bimbenders