is-unity

4.0.0 • Public • Published

is-unity Build Status Travis

Check if the current session runs Unity desktop.

Install

$ npm install --save is-unity

Usage

const isUnity = require('is-unity');
 
isUnity.then(data => {
  console.log(data);
  //=> true or false
});

API

isUnity()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3

/is-unity/

    Package Sidebar

    Install

    npm i is-unity

    Weekly Downloads

    16

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    3.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • t1st3