XPC Services connection bindings for node.js
This is a continuation of xpc-connection
https://github.com/sandeepmistry/node-xpc-connection
- int32/uint32
- string
- array
- buffer
- uuid
- object
npm install xpc-connect
const XpcConnect = require('xpc-connect');
const xpcConnect = new XpcConnect('<Mach service name>');
xpcConnect.on('error', function(message) {
...
});
xpcConnect.on('event', function(event) {
...
});
xpcConnect.setup();
const mesage = {
...
};
xpcConnect.sendMessage(mesage);
Please checkout the contributing guide to learn about our release process.