@vpn1/dutyclient

this is the client library to generate new jobs for nodejs clients

Usage no npm install needed!

<script type="module">
  import vpn1Dutyclient from 'https://cdn.skypack.dev/@vpn1/dutyclient';
</script>

README

DutyClient

this is the client library to generate new jobs for nodejs clients

var client = new dutyclient('drvpn')
client.add('test',{
    a: 1,
    n: 2
}).then(jobfile=>{}).catch(err=>{})

.add(qname,job)

.getBasedir()

.getService