copy-paste Clipboard Utility

JSON →
library 2.2.0 ·javascript maintenance
verified May 27, 2026

copy-paste is a Node.js utility designed to provide read/write access to the system clipboard across different operating systems. It achieves cross-platform compatibility by wrapping native command-line tools: `pbcopy` and `pbpaste` for macOS, `xclip` for Linux and BSD systems, and `clip` for Windows. This abstraction allows developers to interact with the clipboard using a unified JavaScript API. The package offers both a traditional callback-based interface for asynchronous operations and a modern Promise-based API for `async/await` patterns, accessible via a submodule. It is currently at version 2.2.0 and, while not actively undergoing rapid feature development, it remains a maintained package for fundamental clipboard interactions in Node.js environments. Its primary differentiator is its robust cross-platform wrapper for underlying system utilities, abstracting away the OS-specific commands.

total hits 29
actors 7 distinct systems
last hit 4d ago human
ByteDance
9
MetaBot
4
GPTBot
2
Script
1
Search engines
1
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada