platform : A platform detection library that works on nearly all JavaScript platforms.. You can installing platform 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 platform $ sudo npm install -g platform
If want to update the platform package execute the command as below,
$ sudo npm update platform
Update package globally,
$ npm install -g platform
$ sudo git clone https://github.com/rektide/platform.git
$ sudo npm install -g ./platform
platform@1.3.4 /usr/lib/node_modules/platform
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall platform
| Package Name | platform |
| Version | 1.3.4 |
| Description | A platform detection library that works on nearly all JavaScript platforms. |
| Released Date | 2017-03-30T20:28:38.292Z |
| Published by | jdalton |
| How to Learn | https://www.npmjs.com/package/platform/tutorial |