Some key features of Node.js include:
- Asynchronous and non-blocking I/O: Node.js uses an event-driven architecture that allows it to handle I/O operations asynchronously, without blocking the event loop. This makes it particularly well-suited for building real-time applications that require high concurrency and low latency.
- Scalability: Node.js is designed to scale horizontally across multiple processors or servers, using a message-passing system to communicate between different instances.
- NPM: Node.js includes a package manager called NPM (Node Package Manager) that allows developers to easily install, manage, and share packages of reusable code.
Uninstalling nodejs package in Ubuntu
You can uninstall nodejs package from Ubuntu using the below command:
$ sudo apt-get remove nodejs
Uninstall nodejs including dependent package
If you would like to remove nodejs and it’s dependent packages which are no longer needed from Ubuntu:
$ sudo apt-get remove --auto-remove nodejs
Use Purging nodejs
If you use with purge options to nodejs package all the configuration and dependent packages will be removed.
$ sudo apt-get purge nodejs
If you use purge options along with auto remove, will be removed everything regarding the package, It’s really useful when you want to reinstall again.
$ sudo apt-get purge --auto-remove nodejs