@lemonaid-dev/clipboard
v0.1.1
Published
Portable pbcopy and pbpaste commands for macOS, Wayland, and X11
Maintainers
Readme
@lemonaid-dev/clipboard
Portable pbcopy and pbpaste commands for macOS, Wayland, and X11.
Install
bun install -g @lemonaid-dev/clipboardUsage
printf 'hello' | pbcopy
pbpaste
pbcopy --help
pbpaste --versionThe backend is selected automatically. Use --backend native, --backend wayland,
or --backend x11 to override it. Unrecognized arguments are passed to the selected
backend; use -- to make that intent explicit.
Linux requires wl-clipboard for Wayland or xclip for X11. macOS uses the native
commands in /usr/bin.
Requirements
- Bun
License
MIT
