Skip to content
Monitor keystrokes for a specific string and fire a callback when typed.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

tighpo

Monitor keystrokes for a specific string and fire a callback when typed.

Note: I'm not sure this could be used maliciously, but obviously do not do that. This library is inteded for fun things like easter eggs.

Install

npm i tighpo --save

Usage

import tipho from 'srraf'

tighpo('say hello', () => {
  alert('hello')
})

License

MIT License © Eric Bailey

You can’t perform that action at this time.