How to Install postcss-focus NPM Packages on Ubuntu / Debian

How to Install postcss-focus software package in NPM Packages

postcss-focus : PostCSS plugin to add :focus selector to every :hover for keyboard accessibility. You can installing postcss-focus npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install postcss-focus
$ sudo npm install -g postcss-focus

If want to update the postcss-focus package execute the command as below,

$ sudo npm update postcss-focus

Update package globally,

$ npm install -g postcss-focus

Git clone:

$ sudo  git clone https://github.com/rektide/postcss-focus.git
$ sudo  npm install -g ./postcss-focus

postcss-focus@3.0.0 /usr/lib/node_modules/postcss-focus

How to remove postcss-focus package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall postcss-focus

Basic Information of postcss-focus NPM Package:

Package Name postcss-focus
Version 3.0.0
Description PostCSS plugin to add :focus selector to every :hover for keyboard accessibility
Released Date 2017-10-12T20:12:17.563Z
Published by ai
How to Learn https://www.npmjs.com/package/postcss-focus/tutorial