npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

is-incognito

1.0.0

@hemanth

npmHomeRepoSnykSocket
Downloads:3
$ npm install is-incognito
DailyWeeklyMonthlyYearly

is-incognito Build Status

Detects incognito mode.

Install

$ npm install --save is-incognito

Usage

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'

*/

License

MIT © Hemanth.HM