briangonzalez / auth-code-copy

Copy auth codes sent via iMessage to your clipboard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auth-code-copy

Build Status js-standard-style

Copy auth codes sent via iMessage to your clipboard.

Installation

$ npm install --global auth-code-copy   # globally
$ npm install --save auth-code-copy     # or locally

Usage

Command line

$ auth-code-copy-listen

# => Listening for codes...

Programmatically

import { listen } from 'auth-code-copy'
const notify = (err, msg) => { growl(`Copied ${msg.code}!`) }
listen(notify)

Demo

demo of auth-code-copy

Tests

$ npm t

License

MIT © Brian Gonzalez

About

Copy auth codes sent via iMessage to your clipboard.


Languages

Language:JavaScript 100.0%