/is-sugar

Check if the current session runs Sugar desktop

Primary LanguageJavaScriptMIT LicenseMIT

is-sugar Build Status Travis

Check if the current session runs Sugar desktop.

Install

$ npm install --save is-sugar

Usage

const isSugar = require('is-sugar');

isSugar.then(data => {
  console.log(data);
  //=> true or false
});

API

isSugar()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3