auth-code-copy

v1.0.0
Copy auth codes sent via iMessage to your clipboard.

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

npm i auth-code-copy

Metadata

  • MIT
  • Whatever
  • Brian M. Gonzalez
  • released 11/7/2017

Downloads

Maintainers