record-shortcuts

0.1.4 • Public • Published

record-shortcuts

records shortcuts on browser.

usage

record.start()
  .on('end', function (arr) { })
  .on('cancel', function () { });

api

.start()

Starts a new recording session, cancelling previous one.

This returns an EventEmitter singleton that emits either an end or a cancel.

.cancel()

Cancels current recording session and emits cancel.

validation

Works pretty much like how osx does.

valid combinations

  • command+s
  • command+alt+ctrl+s
  • command+alt+ctrl+shift+s
  • alt+s
  • ctrl+s

invalid combinations

  • s
  • shift+s
  • s+a
  • command+shift

license

mit

/record-shortcuts/

    Package Sidebar

    Install

    npm i record-shortcuts

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • sinan
    • sz