lcrossplatform
v1.0.0
Published
small library that allows you to develop multiplatform code easly
Downloads
3
Maintainers
Readme
lcrossplatform
small and easy to use library that allow you to develop multiplatform code faster. (by now only tested on linux (32, 64)bits, windows (32, 64)bits, macos (32, 64)bits)
how to install?
npm install --save lcrossplatform
how to use?
var lcplatform = require('lcrossplatform')
if(lcplatform.isLinux32Bits())
console.log('linux 32 bits');
else if(lcplatform.isLinux64Bits())
console.log('linux 64 bits');
else if(lcplatform.isWindows32Bits())
console.log('linux 64 bits');
else if(lcplatform.isWindoes64Bits())
console.log('linux 64 bits');
else if(lcplatform.isMacOs32Bits())
console.log('linux 64 bits');
else if(lcplatform.isMacOs64Bits())
console.log('linux 64 bits');