is-sugar

4.0.0 • Public • Published

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

Package Sidebar

Install

npm i is-sugar

Weekly Downloads

2

Version

4.0.0

License

MIT

Unpacked Size

3.52 kB

Total Files

4

Last publish

Collaborators

  • t1st3