uxshot

0.0.23 • Public • Published

uxshot

Create and share screenshots and screen recordings right from your browser.

Usage as an npm module

import uxshot from 'uxshot';
uxshot({
  screenshotKey: 'ctrl+s',
  videoKey: 'ctrl+r'
});

Take a screenshot: ctrl+s

Record your screen: ctrl+r

Usage from a cdn

You need to include hotkeys-js and ux shot:

<script src="https://unpkg.com/hotkeys-js/dist/hotkeys.min.js"></script>
<script src="https://unpkg.com/uxshot"></script>

<script>
  window.uxshot.init({
    screenshotKey: 'ctrl+s',
    videoKey: 'ctrl+r'
  });
</script>

Options

uxshot({
  screenshotKey: 'ctrl+s',
  videoKey: 'ctrl+r'
});

Use any hotkey string supported by HotKeys.js

Readme

Keywords

none

Package Sidebar

Install

npm i uxshot

Weekly Downloads

0

Version

0.0.23

License

MIT

Unpacked Size

49.8 kB

Total Files

3

Last publish

Collaborators

  • alanfriedman