<reponame>Kenzquerza/UPIN-BOTZMd-sc<filename>node_modules/cfonts/lib/Size.js<gh_stars>0/***************************************************************************************************************************************************************
 *
 * cfonts
 *
 * Sexy fonts for the console. (CLI output)
 *
 * @license     https://github.com/dominikwilkowski/cfonts/blob/released/LICENSE  GNU GPLv2
 * @author      Dominik Wilkowski  lyhxr@example.com
 * @repository  https://github.com/dominikwilkowski/cfonts
 *
 * Size
 *   Abstraction for windows size
 *
 **************************************************************************************************************************************************************/
'use strict';

const WinSize = require('window-size');
/**
 * Abstraction for windows size
 *
 * @type {object}
 */


const Size = {
  width: WinSize ? WinSize.width > 0 ? WinSize.width : 80 : 80,
  height: WinSize ? WinSize.height > 0 ? WinSize.height : 24 : 24
};
module.exports = exports = {
  Size
};