Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

polarity

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polarity - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

18

package.json
{
"name": "polarity",
"version": "3.0.3",
"version": "3.0.4",
"description": "Detect the polarity (sentiment) of text",

@@ -20,2 +20,6 @@ "license": "MIT",

"repository": "words/polarity",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"bugs": "https://github.com/words/polarity/issues",

@@ -36,10 +40,10 @@ "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

"emoji-emotion": "^2.0.0",
"gemoji": "^4.0.0",
"nyc": "^14.0.0",
"gemoji": "^5.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.24.0"
"xo": "^0.25.0"
},

@@ -54,3 +58,3 @@ "scripts": {

"test-coverage": "nyc --reporter lcov tape test/index.js",
"test": "npm run generate && npm run format && npm run build && npm run test-api"
"test": "npm run generate && npm run format && npm run build && npm run test-coverage"
},

@@ -57,0 +61,0 @@ "nyc": {

@@ -11,11 +11,11 @@ # polarity

## Installation
## Install
[npm][]:
```bash
```sh
npm install polarity
```
## Usage
## Use

@@ -62,4 +62,4 @@ ```js

**polarity** does not tokenise values.
There are better tokenisers around ([**parse-latin**][latin]).
**polarity** does not tokenize values.
There are better tokenizers around ([**parse-latin**][latin]).
However, the following will work pretty good:

@@ -102,3 +102,3 @@

— AFINN list from 2011, containing 2477 entries
* [`afinn-169`](https://github.com/words/afinn-169)
* [`afinn-165`](https://github.com/words/afinn-165)
— AFINN list from 2015, containing 3382 entries

@@ -105,0 +105,0 @@ * [`emoji-emotion`](https://github.com/words/emoji-emotion)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc