positivity-js
v1.0.2
Published
Is the string positive in sense? This npm package can figure it out.
Downloads
4
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-js
or
yarn add positivity-js
Usage
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
});