Uninstalling packages with npm in JavaScript
To uninstall packages use the following command:
terminalnpm uninstall somelib
If the installation was in dev dependency, then you need to uninstall it with the appropriate flag:
terminalnpm uninstall -D somelib
Let's uninstall some library for example:
terminalnpm uninstall lodash
Задание 1
Install some library and then uninstall it.