Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    iron-worker-connectorpublic

    iron-worker-connector

    Wrapper to connect to IronWorker

    USAGE:

    var IronWorkerConnector = require('iron-worker-connector')({auth:'your_auth_token', project: 'your_project', 'worker': 'worker_name'});
     
    var payload = JSON.stringify([{test:'hi'},{test:'there'}]);
     
    IronWorkerConnector.run(payload, function(err, results) {
        if(err) {
            console.log('Error', err);
        } else {
            console.log('Results', results);
        }
    });

    Keywords

    none

    install

    npm i iron-worker-connector

    Downloadslast 7 days

    5

    version

    0.0.5

    license

    none

    last publish

    collaborators

    • avatar