react-native-device-info : Get device information using react-native. You can installing react-native-device-info npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install react-native-device-info $ sudo npm install -g react-native-device-info
If want to update the react-native-device-info package execute the command as below,
$ sudo npm update react-native-device-info
Update package globally,
$ npm install -g react-native-device-info
$ sudo git clone https://github.com/rektide/react-native-device-info.git
$ sudo npm install -g ./react-native-device-info
react-native-device-info@0.12.1 /usr/lib/node_modules/react-native-device-info
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-native-device-info
| Package Name | react-native-device-info |
| Version | 0.12.1 |
| Description | Get device information using react-native |
| Released Date | 2017-10-17T13:48:20.340Z |
| Published by | gantman |
| How to Learn | https://www.npmjs.com/package/react-native-device-info/tutorial |