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!!!');