referrers
v1.0.3
Published
simple determination type and name of referrer by domain
Downloads
3
Readme
Just
npm install referrers
and then
const referrers = require('referrers')
...
const someUrl = 'https://www.gogle.com.ua/?qwe=rty#asd'
...
console.log(referrers(domain))
/*
{
type: 'search',
name: 'Google'
}
*/