package
A postcss plugin to keep your css code readable.
npm install postcss-organizerGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 1 packages.
16.0 kB
Includes dependencies.
A postcss plugin to keep your css code readable.
const postcss = require('postcss');
const postcssOrganizerplugin = require('postcss-organizer');
// You may also overwrite preset options.
// See full list at presets/default.js
const config = { preset: 'default' };
const pcss = postcss([postcssOrganizerplugin(config)]);
pcss.process(css, { from: '...' })
.then(result => console.log(result.css))
.catch(error => console.log(error));MIT License