Uninstalling packages globally via npm in JavaScript

To uninstall libraries installed globally, use the uninstall command with the -g flag:

terminalnpm uninstall -g somelib

Depending on how you installed NodeJS, you may need to write sudo before a command (usually for Linux):

terminalsudo npm uninstall -g somelib

Let's uninstall the previously installed sloc utility:

terminalnpm uninstall -g sloc
Задание 1

Uninstall the previously installed globally library cowsay.