JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20
  • Score
    100M100P100Q79737F
  • License MIT

simple mac clipboard for node & electron

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

npm version npm downloads npm license

Install

$ npm i -S simple-mac-clipboard

API

const clip = require('simple-mac-clipboard')
  • clearContents
  • setStringData(data, format)

和 NSPasteboard 提供的方法一样 https://developer.apple.com/documentation/appkit/nspasteboard

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org