Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "afinn-96", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "AFINN 96 (list of English words rated for valence) in JSON", | ||
@@ -31,17 +31,16 @@ "license": "MIT", | ||
"bail": "^1.0.1", | ||
"browserify": "^13.0.1", | ||
"browserify": "^14.0.0", | ||
"csv-streamify": "^3.0.4", | ||
"esmangle": "^1.0.1", | ||
"join-stream": "0.0.0", | ||
"nyc": "^8.1.0", | ||
"readable-stream": "^2.1.4", | ||
"remark-cli": "^2.0.0", | ||
"remark-preset-wooorm": "^1.0.0", | ||
"remark-cli": "^3.0.0", | ||
"remark-preset-wooorm": "^3.0.0", | ||
"tape": "^4.0.0", | ||
"unzip": "^0.1.11", | ||
"wrap-stream": "^2.0.0", | ||
"xo": "^0.17.0" | ||
"xo": "^0.18.0" | ||
}, | ||
"scripts": { | ||
"build-md": "remark . --quiet --frail", | ||
"build-md": "remark . -qfo", | ||
"build-generate": "node build", | ||
@@ -53,7 +52,7 @@ "build-bundle": "browserify index.json --bare -s afinn96 > afinn-96.js", | ||
"test-api": "node test", | ||
"test-coverage": "nyc --reporter lcov tape test.js", | ||
"test": "npm run build && npm run lint && npm run test-coverage" | ||
"test": "npm run build && npm run lint && npm run test-api" | ||
}, | ||
"xo": { | ||
"space": true, | ||
"esnext": false, | ||
"ignores": [ | ||
@@ -64,5 +63,4 @@ "afinn-96.js" | ||
"remarkConfig": { | ||
"output": true, | ||
"presets": "wooorm" | ||
"plugins": ["preset-wooorm"] | ||
} | ||
} |
@@ -1,11 +0,11 @@ | ||
# afinn-96 [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
# afinn-96 [![Build Status][travis-badge]][travis] | ||
Easy access to [AFINN-96][afinn96]. | ||
AFINN-96 is the lightweight (1468 words/phrases), older, version of | ||
[AFINN-111][afinn111] (2477 words/phrases). | ||
AFINN 96 is the lightweight (1468 words/phrases), older, version of | ||
[AFINN 165][afinn165] (3382 words/phrases). | ||
## Installation | ||
[npm][npm-install]: | ||
[npm][]: | ||
@@ -21,4 +21,4 @@ ```bash | ||
afinn.positive; // 2 | ||
afinn['fed up']; // -3 | ||
afinn.positive; //=> 2 | ||
afinn['fed up']; //=> -3 | ||
``` | ||
@@ -41,11 +41,22 @@ | ||
* All lower case; | ||
* All lower case | ||
* Can contain spaces (cases: `can't stand`, `cashing in`, | ||
`cool stuff`, `does not work`, `dont like`, `fed up`, `green wash`, | ||
`green washing`, `messing up`, `no fun`, `not good`, `not working`, | ||
`right direction`, `screwed up`, `some kind`); | ||
* Can contain apostrophes (only case: `can't stand`); | ||
`right direction`, `screwed up`, `some kind`) | ||
* Can contain apostrophes (only case: `can't stand`) | ||
* Can contain dashes (cases: `cover-up`, `made-up`, `short-sighted`, | ||
`short-sightedness`, `son-of-a-bitch`). | ||
`short-sightedness`, `son-of-a-bitch`) | ||
## Related | ||
* [`afinn-111`](https://github.com/wooorm/afinn-111) | ||
— AFINN list from 2011, containing 2477 entries | ||
* [`afinn-165`](https://github.com/wooorm/afinn-165) | ||
— AFINN list from 2015, containing 3382 entries | ||
* [`emoji-emotion`](https://github.com/wooorm/emoji-emotion) | ||
— Like AFINN, but for emoji | ||
* [`polarity`](https://github.com/wooorm/polarity) | ||
— Detect the polarity of text, based on `afinn-169` and `emoji-emotion` | ||
## License | ||
@@ -61,8 +72,4 @@ | ||
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/afinn-96.svg | ||
[npm]: https://docs.npmjs.com/cli/install | ||
[codecov]: https://codecov.io/github/wooorm/afinn-96 | ||
[npm-install]: https://docs.npmjs.com/cli/install | ||
[license]: LICENSE | ||
@@ -74,2 +81,2 @@ | ||
[afinn111]: https://github.com/wooorm/afinn-111 | ||
[afinn165]: https://github.com/wooorm/afinn-165 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29863
12
79