‚̧Newline Proliferating Maniac
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    xpc-connection

    0.1.4¬†‚Äʬ†Public¬†‚Äʬ†Published

    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

    Install

    npm i xpc-connection

    DownloadsWeekly Downloads

    2,047

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • avatar