4.0.0 • Published 5 years ago

is-unity v4.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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

4.0.0

5 years ago

3.0.0

5 years ago

2.0.0

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago

0.1.0

8 years ago