Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.53 KB

readme.md

File metadata and controls

46 lines (28 loc) · 1.53 KB

is-cinnamon Build Status Travis

Check if the current session runs Cinnamon desktop.

Install

$ npm install --save is-cinnamon

Usage

const isCinnamon = require('is-cinnamon');

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

API

isCinnamon()

Returns a Promise that resolves either to true or false.

Related

License

MIT © t1st3