to-clipboard

0.4.0 • Public • Published

to-clipboard NPM version

Copy to the clipboard. Cross-platform: windows, linux and darwin (mac).

Install

Install with npm

$ npm i to-clipboard --save

Usage

var toClipboard = require('to-clipboard');
 
// async
toClipboard('foo bar baz', function (err) {});
 
// sync
toClipboard.sync('foo bar baz');

See examples.

Other useful CLI projects

  • lint-deps: CLI tool that tells you when dependencies are missing from package.json and offers you a… more | homepage
  • spawn-commands: Launches a new process with the given command, with command line arguments in args. Should… more | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on September 12, 2015.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.018latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.018
0.3.00
0.2.01
0.1.01

Package Sidebar

Install

npm i to-clipboard

Weekly Downloads

20

Version

0.4.0

License

MIT

Last publish

Collaborators

  • jonschlinkert
  • tomsmeding