What is cordova-plugin-device?
"Cordova Device Plugin"
cordova-plugin-device is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 62.7 KB on disk.
Installation Guide
# Install via NPM
npm install cordova-plugin-device
# Install via Yarn
yarn add cordova-plugin-device