npm.io
0.0.2 • Published 10 years ago

adverbs

Licence
MIT
Version
0.0.2
Deps
1
Vulns
0
Weekly
0
Stars
1

Adverbs

Build Status

Identify adverbs in a given text. This combines a number of different methods for identifying adverbs. Namely, it leverages the excellent adverb-where library with some additional checks.

Installation

npm install adverbs
Usage
var adverbs = require('adverbs');

var locations = adverbs('This is an extremely bad sentence');
// locations -> [{ index: 11, offset: 9 }]
Credit

Keywords