Determine application referrer.
npm install stb-referrerDetermine application referrer
==============================





Module to make a correct exit from the current application.
It can use document.referrer or URL GET parameter referrer to extract a link to the previous application.
``bash`
npm install stb-referrer
Add to the scope:
`js`
var referrer = require('stb-referrer');
Go back to the previous application:
`js`
location.href = referrer() || 'http://google.com/';
> There is a global var DEVELOP which activates additional consistency checks and protection logic not available in release mode.
If you have any problems or suggestions please open an issue
according to the contribution rules.
stb-referrer` is released under the MIT License.