Skip to content

📦 Returns `referrer` from current page

Notifications You must be signed in to change notification settings

kyungw00k/find-referrer

Repository files navigation

find-referrer

JavaScript Style Guide NPM version NPM download

Returns referrer string from current page

Install

Install with npm

$ npm i --save find-referrer

Usage

var findReferrer = require('find-referrer')

findReferrer()
//

Running tests

Install dev dependencies:

$ npm i -d && npm test

Tested

  • (Windows 7+) IE 8+
  • Chrome latest
  • Safari latest
  • Firefox latest
  • iOS 8.1+
  • Android 4.0+

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

License

MIT