polarity-webpack

Detect the polarity of text. Includes tweak to work with webpack.

Usage no npm install needed!

<script type="module">
  import polarityWebpack from 'https://cdn.skypack.dev/polarity-webpack';
</script>

README

polarity-webpack

Detect the polarity of text, based on [afinn-165][afinn] and [emoji-emotion][emoji].

This is a fork of Titus Wormer's polarity module. This module includes a slight tweak that I needed to make in order for it to work with webpack.

Everything else is the same. All credit goes to him. Please check that repository for more details.