earcut : The fastest and smallest JavaScript polygon triangulation library for your WebGL apps. You can installing earcut 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 earcut $ sudo npm install -g earcut
If want to update the earcut package execute the command as below,
$ sudo npm update earcut
Update package globally,
$ npm install -g earcut
$ sudo git clone https://github.com/rektide/earcut.git
$ sudo npm install -g ./earcut
earcut@2.1.2 /usr/lib/node_modules/earcut
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall earcut
Package Name | earcut |
Version | 2.1.2 |
Description | The fastest and smallest JavaScript polygon triangulation library for your WebGL apps |
Released Date | 2017-10-23T16:53:44.436Z |
Published by | mourner |
How to Learn | https://www.npmjs.com/package/earcut/tutorial |