arturo-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "arturo-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "lib/client.js", | ||
@@ -5,0 +5,0 @@ "author": "chad.d.elliott@gmail.com", |
@@ -12,4 +12,13 @@ # arturo-client [![NPM version](https://badge.fury.io/js/arturo-client.svg)](https://npmjs.org/package/arturo-client) | ||
```js | ||
const arturo = require('arturo'); | ||
arturo(); | ||
const ArturoClient = require('arturo-client') | ||
const client = new ArturoClient(port) | ||
client.addWorker({route: '/route', path: 'asbolute/path/to/worker'}) | ||
// returns promise | ||
client.removeWorker({route: '/route', path: 'asbolute/path/to/worker'}) | ||
// returns promise | ||
client.end() | ||
// returns promise | ||
``` | ||
@@ -16,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111302
28