1.0.2 • Published 3 years ago
positivity-js v1.0.2
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
});