0.2.0 • Published 3 years ago
@devmoath/copy-text v0.2.0
@devmoath/copy-text
Copy text to user clipboard
Installation
Install the plugin from npm:
# Using npm
npm install @devmoath/copy-text
# Using Yarn
yarn add @devmoath/copy-text
Usage
// es module import:
import copy from '@devmoath/copy-text';
// commonjs import:
const copy = require('@devmoath/copy-text').default;
copy('THE VALUE YOU WANT TO COPY IT');