Socket
Socket
Sign inDemoInstall

xpc-connection

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    xpc-connection

XPC Connection binding for node.js


Version published
Weekly downloads
361
increased by43.25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-xpc-connection

Gitter

Connection binding for node.js

Supported data types

  • int32/uint32
  • string
  • array
  • buffer
  • uuid
  • object

Example

var XpcConnection = require('xpc-connection');

var xpcConnection = new XpcConnection('<Mach service name>');

xpcConnection.on('error', function(message) {
    ...
});

xpcConnection.on('event', function(event) {
    ...
});

xpcConnection.setup();

var mesage = {
    ... 
};

xpcConnection.sendMessage(mesage);

Build Errors

Before creating a new issue for build errors, please set your path to the following:

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

MacPorts and other similiar tools might be adding an incompatible compiler to your PATH (see issue #2) for more details.

Analytics

Keywords

FAQs

Last updated on 30 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc