New:Socket for Asana Is Now Available.Learn more
Get Started

postcss-normalize-whitespace

Package Overview
Dependencies
Maintainers
7
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-normalize-whitespace

Trim whitespace inside and around CSS rules & declarations.

Source
npmnpm
Version
8.0.5
Version published
Weekly downloads
19M
2.37%
Maintainers
7
Weekly downloads
 
Created
Source

postcss-normalize-whitespace

Normalize whitespace with PostCSS.

Install

With npm do:

npm install postcss-normalize-whitespace --save

Example

Input

h1{
    width: calc(10px - ( 100px / var(--test) )) 
}

Output

h1{
    width: calc(10px - 100px / var(--test))
}

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Keywords

css

FAQs

Package last updated on 20 Aug 2026

Related posts