This npm package tells you if the package is in a positive or negative state. Can be used to classify reviews automatically.
npm install positivity-js
or
yarn add positivity-js
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
});