
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
paralleldots-client
Advanced tools
A js client wrapper for ParallelDots' APIs.
Install with npm
npm install paralleldots-client
Sign up to create your free account from ParallelDots. Log in to your account to get your API key.
const pd = require('paralleldots-client');
// Be sure to set your API key
pd.apiKey = "YOUR_API_KEY";
// Calls to the API return promises
pd.usage()
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.sentiment('Team performed well overall.')
.then((response) => {
console.log(response);
}).catch((error) =>{
console.log(error);
})
pd.abuse("I was not very impressed with the band's performance this year")
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.semantic('Global warming set to exceed Paris agreement’s 1.5C limit by 2040s, according to draft UN report','There is a tipping point’: UN warns climate change goals laid out in Paris accord are almost out of reach')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.ner('When Michael Jordan was at the peak of his powers as an NBA superstar, his Chicago Bulls teams were mowing down the competition, winning six National Basketball Association titles and setting a record for wins in a season that was broken by the Golden State Warriors two seasons ago.')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.emotion('I am trying to imagine you with a personality.')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.intent('How do I cancel my ticket from the app?')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.keywords('For the Yankees, it took a stunning comeback after being down 2-0 to the Indians in the American League Division Series. For the Astros, it took beating Chris Sale to top the Red Sox.')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.taxonomy('Deutsche Bank CEO sees far fewer than 4,000 Brexit-related moves: paper')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.taxonomy('Deutsche Bank CEO sees far fewer than 4,000 Brexit-related moves: paper')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
pd.multilingualSentiment('Barcelona es una ciudad hermosa')
.then((response) => {
console.log(response);
})
.catch((err) =>{
console.log(err);
})
pd.sentimentSocial('I left my camera at home')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
})
Example
const sentiment = require('paralleldots/apis/sentiment');
sentiment('Team performed well overall.','<YOUR_API_KEY>')
.then((response) => {
console.log(response);
}).catch((error) =>{
console.log(error);
})
Available APIs: abuse | customClassifier | emotion | intent | keywords | multilingualSentiment | ner | semantic | sentiment | taxonomy | usage
Note : You must pass your API key as the last parameter for single usage.
FAQs
A front-end js wrapper for the ParallelDots' API
The npm package paralleldots-client receives a total of 2 weekly downloads. As such, paralleldots-client popularity was classified as not popular.
We found that paralleldots-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.