Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "nlpcloud", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Node.js client for the NLP Cloud API. NLP Cloud serves all the spaCy pre-trained models, and your own custom models, through a RESTful API ready for production.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io", | ||
"main": "lib/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -27,8 +27,9 @@ # Node.js Client For NLP Cloud | ||
client.entities("John Doe is a Go Developer at Google") | ||
.then((data) => { | ||
console.log(data); | ||
}) | ||
.catch((err) => { | ||
console.error(err); | ||
}); | ||
.then(function (response) { | ||
console.log(response.data); | ||
}) | ||
.catch(function (err) { | ||
console.error(err.response.status); | ||
console.error(err.response.data.detail); | ||
}); | ||
``` | ||
@@ -35,0 +36,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
127
7597
56