How To Install nodejs-when on CentOS 7
Introduction
In this tutorial we learn how to install nodejs-when
on CentOS 7.
What is nodejs-when
When.js is a rock solid, battle-tested Promises/A+ and when() implementation, including a complete ES6 Promise shim. It’s a powerful combination of small size, high performance, debuggability, and rich features * Resolve arrays and hashes of promises, as well as infinite promise sequences * Execute tasks in parallel or sequentially * Transform Node-style and other callback-based APIs into promise-based APIs When.js is one of the many stand-alone components of cujoJS, the JavaScript Architectural Toolkit.
We can use yum
or dnf
to install nodejs-when
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-when.
Install nodejs-when on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nodejs-when
using yum
by running the following command:
Install nodejs-when on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install nodejs-when
using dnf
by running the following command:
How To Uninstall nodejs-when on CentOS 7
To uninstall only the nodejs-when
package we can use the following command:
References
Summary
In this tutorial we learn how to install nodejs-when
on CentOS 7 using yum
and dnf
.