Socket
Socket
Sign inDemoInstall

afinn-96

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

license

44

package.json
{
"name": "afinn-96",
"version": "1.1.2",
"version": "1.1.3",
"description": "AFINN 96 (list of English words rated for valence) in JSON",

@@ -20,5 +20,5 @@ "license": "MIT",

"bugs": "https://github.com/words/afinn-96/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],

@@ -32,26 +32,32 @@ "main": "index.json",

"bail": "^1.0.1",
"browserify": "^14.0.0",
"csv-streamify": "^3.0.4",
"esmangle": "^1.0.1",
"browserify": "^16.0.0",
"csv-streamify": "^4.0.0",
"join-stream": "0.0.0",
"readable-stream": "^2.1.4",
"remark-cli": "^4.0.0",
"remark-preset-wooorm": "^3.0.0",
"readable-stream": "^3.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"tape": "^4.0.0",
"unzip": "^0.1.11",
"tinyify": "^2.5.0",
"wrap-stream": "^2.0.0",
"xo": "^0.18.0"
"xo": "^0.24.0",
"yauzl": "^2.10.0"
},
"scripts": {
"build-md": "remark . -qfo",
"build-generate": "node build",
"build-bundle": "browserify index.json --bare -s afinn96 > afinn-96.js",
"build-mangle": "esmangle afinn-96.js > afinn-96.min.js",
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
"lint": "xo",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.json -s afinn96 -o afinn-96.js",
"build-mangle": "browserify index.json -s afinn96 -p tinyify -o afinn-96.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test": "npm run build && npm run lint && npm run test-api"
"test": "npm run format && npm run build && npm run test-api"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"space": true,
"prettier": true,
"esnext": false,

@@ -58,0 +64,0 @@ "ignores": [

@@ -1,3 +0,7 @@

# afinn-96 [![Build Status][travis-badge]][travis]
# afinn-96
[![Build][build-badge]][build]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
Easy access to [AFINN-96][afinn96].

@@ -19,6 +23,6 @@

```js
var afinn = require('afinn-96');
var afinn = require('afinn-96')
afinn.positive; //=> 2
afinn['fed up']; //=> -3
afinn.positive // => 2
afinn['fed up'] // => -3
```

@@ -52,9 +56,9 @@

* [`afinn-111`](https://github.com/wooorm/afinn-111)
* [`afinn-111`](https://github.com/words/afinn-111)
— AFINN list from 2011, containing 2477 entries
* [`afinn-165`](https://github.com/wooorm/afinn-165)
* [`afinn-165`](https://github.com/words/afinn-165)
— AFINN list from 2015, containing 3382 entries
* [`emoji-emotion`](https://github.com/wooorm/emoji-emotion)
* [`emoji-emotion`](https://github.com/words/emoji-emotion)
— Like AFINN, but for emoji
* [`polarity`](https://github.com/wooorm/polarity)
* [`polarity`](https://github.com/words/polarity)
— Detect the polarity of text, based on `afinn-169` and `emoji-emotion`

@@ -68,14 +72,22 @@

[travis-badge]: https://img.shields.io/travis/words/afinn-96.svg
[build-badge]: https://img.shields.io/travis/words/afinn-96.svg
[travis]: https://travis-ci.org/words/afinn-96
[build]: https://travis-ci.org/words/afinn-96
[downloads-badge]: https://img.shields.io/npm/dm/afinn-96.svg
[downloads]: https://www.npmjs.com/package/afinn-96
[size-badge]: https://img.shields.io/bundlephobia/minzip/afinn-96.svg
[size]: https://bundlephobia.com/result?p=afinn-96
[npm]: https://docs.npmjs.com/cli/install
[license]: LICENSE
[license]: license
[author]: http://wooorm.com
[author]: https://wooorm.com
[afinn96]: http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010
[afinn96]: https://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010
[afinn165]: https://github.com/words/afinn-165
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc