Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nlpcloud

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlpcloud - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

8

index.js

@@ -99,2 +99,10 @@ const axios = require('axios')

paraphrasing(text) {
const payload = {
'text': text
};
return axios.post(this.rootURL + '/' + 'paraphrasing', payload, { headers: this.headers })
}
translation(text) {

@@ -101,0 +109,0 @@ const payload = {

4

package.json
{
"name": "nlpcloud",
"version": "1.0.19",
"description": "NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, text generation, question answering, machine translation, language detection, semantic similarity, tokenization, POS tagging, embeddings, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Node.js client for the NLP Cloud API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io",
"version": "1.0.20",
"description": "NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, text generation, question answering, machine translation, language detection, semantic similarity, tokenization, POS tagging, embeddings, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Node.js client for the NLP Cloud API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -192,2 +192,10 @@ # Node.js Client For NLP Cloud

### Paraphrasing Endpoint
Call the `paraphrasing()` method and pass the text you want to paraphrase.
```js
client.paraphrasing("<Your text to paraphrase>")
```
### Translation Endpoint

@@ -194,0 +202,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc