Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.
/ copyr Public archive

A small (under 1KB) module for copying text to the clipboard. (Abandoned)

License

Notifications You must be signed in to change notification settings

xyfir/copyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small (under 1KB) module for copying text to the clipboard.

Only uses document.execCommand('copy'). There are no fallbacks or other unnecessary code.

Used by Ptorx and other projects in the Xyfir Network.

import copy from 'copyr';

copy('Some text');
// Clipboard now has 'Some text' saved to it

About

A small (under 1KB) module for copying text to the clipboard. (Abandoned)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published