to-clipboard-android

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

Usage no npm install needed!

<script type="module">
  import toClipboardAndroid from 'https://cdn.skypack.dev/to-clipboard-android';
</script>

README

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.