positivity-js
v1.0.2
Published
Is the string positive in sense? This npm package can figure it out.
Readme
positivity-js
This npm package tells you if the package is in a positive or negative state. Can be used to classify reviews automatically.
Installation
npm install positivity-jsor
yarn add positivity-jsUsage
const positivity = require('positivity-js');
positivity.predictSentence('This is a good package').then(result => {
// Your code here
// Result is a boolean
}).catch(err => {
// Your code here
});