Detects incognito mode.
$ npm install --save is-incognito
const isIncognito = require('is-incognito');
isIncognito().then(console.log, console.error).catch(console.error);
/*
If Promise is:
* resolved -> 1
'incognito'
* rejected -> 1 || -1 || -2
'not incognito' || 'Check failed' || 'Check not implement for this ENV'
*/
MIT © Hemanth.HM