# copy-data-to-clipboard **Repository Path**: chencaize/copy-data-to-clipboard ## Basic Information - **Project Name**: copy-data-to-clipboard - **Description**: use the newest api navigator.clipboard.writeText to copy stuff into clipboard - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-12-03 - **Last Updated**: 2021-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # copy-data-to-clipboard use the newest api navigator.clipboard.writeText to copy stuff into clipboard # Installation ``` npm install copy-data-to-clipboard #or yarn add copy-data-to-clipboard ``` # How to use it ```js import copy from "copy-data-to-clipboard"; copy("Text"); copy("Text", { debug: true, message: "copy error", }); ```