is-svg : Check if a string or buffer is SVG. You can installing is-svg 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 is-svg $ sudo npm install -g is-svg
If want to update the is-svg package execute the command as below,
$ sudo npm update is-svg
Update package globally,
$ npm install -g is-svg
$ sudo git clone https://github.com/rektide/is-svg.git
$ sudo npm install -g ./is-svg
is-svg@2.1.0 /usr/lib/node_modules/is-svg
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-svg
Package Name | is-svg |
Version | 2.1.0 |
Description | Check if a string or buffer is SVG |
Released Date | 2016-11-04T14:32:48.385Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/is-svg/tutorial |