Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.14 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.14 KB

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