From 9773e7d01d1384dbda4e98ab1d358917145d0080 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sat, 1 Feb 2020 10:20:14 +0100 Subject: [PATCH] Refactor prose --- readme.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index 7a54fb7..04e3059 100644 --- a/readme.md +++ b/readme.md @@ -6,18 +6,18 @@ Easy access to [AFINN-96][afinn96]. -AFINN 96 is the lightweight (1468 words/phrases), older, version of +AFINN 96 is the lightweight (1468 words/phrases) and older version of [AFINN 165][afinn165] (3382 words/phrases). -## Installation +## Install [npm][]: -```bash +```sh npm install afinn-96 ``` -## Usage +## Use ```js var afinn = require('afinn-96') @@ -30,12 +30,12 @@ afinn['fed up'] // => -3 ### `afinn96` -**afinn-96** returns entries to valence ratings (`Object.`). +`afinn-96` returns entries to valence ratings (`Object.`). -> Note! Be careful when accessing unknown properties on the -> **afinn-96** object, words such as “constructor” or “toString” -> might occur. It’s recommended to use a `hasOwnProperty` check -> beforehand. +> Note! +> Be careful when accessing unknown properties on the `afinn-96` object, words +> such as `constructor` or `toString` might occur. +> It’s recommended to use a `hasOwnProperty` check beforehand. ## Musings