Download CSS Post Processor

Version 3.2.1, released 2026-11-02. Free and open source under the MIT License.

Minified build

For production. Includes everything: variables, nesting, $[index], and the state and content selectors.

29.5 KB (10.4 KB gzipped)

Download css-pp.min.js

Full source

Readable, for debugging, auditing or contributing. The same code before minification.

49.3 KB uncompressed

Download css-pp.js

Load from a CDN

jsDelivr serves the npm package from a global CDN. The integrity attribute makes the browser refuse the file if it was changed in any way.

HTML
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/css-pp.min.js"
        integrity="sha384-T1bI8VjOVeN7L8QkEg/v3zEkxyzVreA9qchbx+0gd9tOItYJlbVFgRiodhzslST/"
        crossorigin="anonymous"></script>

Install with npm

Terminal
npm install css-pp

The package contains dist/css-pp.min.js and dist/css-pp.js. Include it with a script tag; css-pp defines the global css object.

Use it

index.html
<script src="/js/css-pp.min.js"></script>
<script>
  css.defaults.debug = 0;
  css.open('/css/site.css');
</script>

Next: Getting started · Live examples · What's new in 3.2.1

File integrity

FileSizeSRI hash (sha384)
css-pp.min.js29.5 KBsha384-T1bI8VjOVeN7L8QkEg/v3zEkxyzVreA9qchbx+0gd9tOItYJlbVFgRiodhzslST/

License

MIT License, Copyright © 2016–2026 Alex Bobrov. You can use, copy, modify and distribute the library, including in commercial and closed-source projects, as long as the copyright notice stays in the file.