0.5.3 • Published 2 years ago

native-clip v0.5.3

Weekly downloads
-
License
Unlicense
Repository
github
Last release
2 years ago

Read / Write from the native OS clipboard in Node.js

Features

  • Simple API usage and Error Handling
  • Fast / Direct OS Calls using C
  • Full Unicode Support (Non-English characters, Emojis, etc.)
  • Optional TypeScript Definitions
  • Windows and Mac OS support
  • Linux support (should work, but needs more testing)

Planned Features

  • Support for FreeBSD, OpenBSD+
  • More Optimization

Example Usage

const clipboard = require("native-clip");

// Returns a string of clipboard contents
clipboard.read();

// Copies "Test 1234" to the clipboard
clipboard.write("Test 1234");

// Full Unicode Support
clipboard.write("🥑");
0.3.0

3 years ago

0.5.3

2 years ago

0.2.6

3 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.2.3

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.5.2

3 years ago

0.2.5

3 years ago

0.5.1

3 years ago

0.2.4

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago