is-hyper
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

is-hyper

Check if you're running in Hyper

Install

npm install is-hyper

Usage

Here running in Hyper 0.7.0:

import isHyper from 'is-hyper';

isHyper();
//=> true

isHyper('>=0.8');
//=> false

API

isHyper(semverRange?)

Returns a boolean.

semverRange

Type: string

Match a specific version range.

/is-hyper/

    Package Sidebar

    Install

    npm i is-hyper

    Weekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    5

    Last publish

    Collaborators

    • sindresorhus