Skip to content
/ is-sugar Public

Check if the current session runs Sugar desktop

License

Notifications You must be signed in to change notification settings

t1st3/is-sugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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