How To Install nodejs-transformers on CentOS 7

In this tutorial we learn how to install nodejs-transformers on CentOS 7. nodejs-transformers is String/Data transformations for Node.js

Introduction

In this tutorial we learn how to install nodejs-transformers on CentOS 7.

What is nodejs-transformers

String/Data transformations for use in templating libraries, static site generators and web frameworks. This gathers the most useful transformations you can apply to text or data into one library with a consistent API. Transformations can be pretty much anything but most are either compilers or templating engines.

We can use yum or dnf to install nodejs-transformers on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-transformers.

Install nodejs-transformers on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install nodejs-transformers using yum by running the following command:

sudo yum -y install nodejs-transformers

Install nodejs-transformers 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.

sudo dnf makecache

After updating yum database, We can install nodejs-transformers using dnf by running the following command:

sudo dnf -y install nodejs-transformers

How To Uninstall nodejs-transformers on CentOS 7

To uninstall only the nodejs-transformers package we can use the following command:

sudo dnf remove nodejs-transformers

References

Summary

In this tutorial we learn how to install nodejs-transformers on CentOS 7 using yum and dnf.