postcss-conditionals : PostCSS plugin that enables if statements in your CSS. You can installing postcss-conditionals 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-conditionals $ sudo npm install -g postcss-conditionals
If want to update the postcss-conditionals package execute the command as below,
$ sudo npm update postcss-conditionals
Update package globally,
$ npm install -g postcss-conditionals
$ sudo git clone https://github.com/rektide/postcss-conditionals.git
$ sudo npm install -g ./postcss-conditionals
postcss-conditionals@2.1.0 /usr/lib/node_modules/postcss-conditionals
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall postcss-conditionals
| Package Name | postcss-conditionals |
| Version | 2.1.0 |
| Description | PostCSS plugin that enables if statements in your CSS |
| Released Date | 2016-12-21T00:16:13.046Z |
| Published by | andyjansson |
| How to Learn | https://www.npmjs.com/package/postcss-conditionals/tutorial |