1.0.5 • Published 4 years ago

copy2cb v1.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

copy2cb

A small module for CLI tools to write to both process.stdout and the clipboard.

This is mostly just a wrapper of the awesome copy-paste module.

Install

npm install --save copy2cb

How-to

var copy2cb = require('copy2cb')
var text = 'some string you want your command to write to stdout and also copy to your clipboard'
copy2cb(text, function() { process.exit(0) })

Live examples

1.0.5

4 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago