copy text programmatically using the clipboard event api


Keywords
clipboard, copy
License
MIT
Install
npm install ts-clipboard@1.0.9

Documentation

ts-clipboard

a typescript class that writes to the clipboard programmatically using the Clipboard API

usage:
import {Clipboard} from 'ts-clipboard';

Clipboard.copy('oh dang!!!');