2.0.0 • Published 2 years ago
is-hyper v2.0.0
is-hyper
Check if you're running in Hyper
Install
npm install is-hyperUsage
Here running in Hyper 0.7.0:
import isHyper from 'is-hyper';
isHyper();
//=> true
isHyper('>=0.8');
//=> falseAPI
isHyper(semverRange?)
Returns a boolean.
semverRange
Type: string
Match a specific version range.