https://github.com/iamamitshrma/codemen-clipboard
Copy your content and store all previous copied content using local storage with tailwindcss
https://github.com/iamamitshrma/codemen-clipboard
clipboard copy copy-paste copy-text-to-clipboard copytoclipboard
Last synced: 4 months ago
JSON representation
Copy your content and store all previous copied content using local storage with tailwindcss
- Host: GitHub
- URL: https://github.com/iamamitshrma/codemen-clipboard
- Owner: iamamitshrma
- Created: 2024-03-08T08:54:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-08T10:16:16.000Z (over 1 year ago)
- Last Synced: 2025-02-18T05:45:51.345Z (4 months ago)
- Topics: clipboard, copy, copy-paste, copy-text-to-clipboard, copytoclipboard
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/codemen-clipboard
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# codemen-clipboard
Copy your content and store all previous copied content using local storage
## Installation
Install codemen-clipboard with npm
```bash
npm install codemen-clipboard@latest
or
yarn add codemen-clipboard@latest
```
## Usage/Examples```javascript
import { useCodemenClipboard } from "codemen-clipboard"function App() {
const { copy, copiedItem, copiedItems, clearAll, clearAllCopiedItems, clearCopiedItem } = useCodemenClipboard();return <>
copy("@thecodemen")}>COPY
clearAll()}>clearAll
clearAllCopiedItems()}>clearAllCopiedItems
clearCopiedItem()}>clearCopiedItem
>
}
```## Usage/Component
```javascript
import { useCodemenClipboard, CopyButton } from "codemen-clipboard"function App() {
const { copy } = useCodemenClipboard();
return (
copy("@thecodemen")} />
)
}
```## 🚀 About Me
I'm Amit Sharma, a committed Full Stack Developer with a focus on JavaScript/TypeScript 💻 and the corresponding runtimes. I have a strong expertise in startups and have led the creation of applications from their birth utilising state-of-the-art online technology. By constantly experimenting with new technologies, I hope to improve the experiences of developers and end users. As a devoted fan of productivity, I'm dedicated to streamlining procedures and workflows to increase my efficacy as a developer.## 🔗 Links
[](https://amit-sharma-dev.vercel.app/)
[](https://www.linkedin.com/in/amit-sharma-b32171143/)
[](https://twitter.com/amit__shaarma)## Contributing
This is open source project.
[Code](https://github.com/iamamitshrma/codemen-clipboard)