Have ideas to improve npm?Join in the discussion! »

    xpc-connect

    2.0.0 • Public • Published

    Install | Contributing

    xpc-connect

    build status downloads Contributor count

    XPC Services connection bindings for node.js

    Supported data types

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

    Install

    npm install xpc-connect

    Example

    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);

    Contributing

    Please checkout the contributing guide to learn about our release process.

    Install

    npm i xpc-connect

    DownloadsWeekly Downloads

    638

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    537 kB

    Total Files

    16

    Last publish

    Collaborators

    • avatar