serp-keyword-statistics
v1.0.2
Published
![npm version](https://nodei.co/npm/serp-keyword-statistics.png)
Downloads
15
Maintainers
Readme
# SERP keyword statistics
Eat a list of keywords (and optionnaly a google domain extension, as sauce), and return the number of google results plus the first link.
Return an array of objets as follow :
[
{
keyword: 'dandy',
stat: '32 100 000',
firstLink: 'https://fr.wikipedia.org/wiki/Dandy'
},
...
]
## Usage
const mod = require('./'),
keywords = ['dandy', 'seo', 'dandy seo']
mod.keywordStats(keywords)
.then(function (data) {
console.log(data)
})