Package Exports
- simple-mac-clipboard
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-mac-clipboard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
simple-mac-clipboard
simple mac clipboard for node & electron
Install
$ npm i -S simple-mac-clipboardAPI
const clip = require('simple-mac-clipboard')clearContentssetStringData(data, format)
和 NSPasteboard 提供的方法一样 https://developer.apple.com/documentation/appkit/nspasteboard
Changelog
License
the MIT License http://magicdawn.mit-license.org