1.0.10 • Published 6 years ago

clipem v1.0.10

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Clipem - Node.js Clipboard Manager

License Version Downloads

Native API for NodeJS allowing system clipboard operations (built in C++, node-addon-api)

Development - Alpha phase

This is an early development version. It is released but could suffer from some bugs and is Windows only (future systems are coming).

Requirements

This module require atleast NodeJS 8

Note that you will have a warning about N-API in version < 10, you can disable it by adding the --no-warnings flag to node

Installation

npm i --save clipem

Usage

const clipem = require("clipem")
// Copying


clipem.copy('Hello, this is a native copy !', () => {
	// Do something when it has been copied
})
// Synchronous way
clipem.copySync('Hello, this is a native copy !')
// Pasting

clipem.paste((err, res) => {
	// The pasted text is in the `res` parameter
	console.log(res)
})
// Synchronous way
let pasted = clipem.pasteSync()

Support

This package supports the following systems :

  • Windows native clipboard

Darwin OS X and Linux native clipboards are in progress

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago