npm promotes metadefinitions

    @devmoath/copy-text
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    @devmoath/copy-text Node.js Package

    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').copy;
    
    copy('THE VALUE YOU WANT TO COPY IT');

    Install

    npm i @devmoath/copy-text

    DownloadsWeekly Downloads

    5

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    7.73 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar