Check if you're running in Hyper
npm install is-hyper
Here running in Hyper 0.7.0:
import isHyper from 'is-hyper';
isHyper();
//=> true
isHyper('>=0.8');
//=> false
Returns a boolean
.
Type: string
Match a specific version range.
Check if you're running in Hyper
npm install is-hyper
Here running in Hyper 0.7.0:
import isHyper from 'is-hyper';
isHyper();
//=> true
isHyper('>=0.8');
//=> false
Returns a boolean
.
Type: string
Match a specific version range.
npm i is-hyper
10
2.0.0
MIT
3.03 kB
5