README
chopper.js
Chopper.js is a modern device detection framework that uses node.js. It detects a mobile, tablet and desktop device in the browser and on the server.
var device = new deviceLib.DeviceDetect();
console.log(device.isDesktop());
A modern universal device detection package
<script type="module">
import chopperJs from 'https://cdn.skypack.dev/chopper.js';
</script>
Chopper.js is a modern device detection framework that uses node.js. It detects a mobile, tablet and desktop device in the browser and on the server.
var device = new deviceLib.DeviceDetect();
console.log(device.isDesktop());