postcss-header
v3.0.3
Published
Add a header to a file.
Downloads
53,551
Maintainers
Readme
postcss-header
Add a header to a file.
Install
npm install postcss-header postcss --save-dev
Usage
const postcss = require('postcss');
const header = require('postcss-header');
const result = postcss(header({
header: '/* A simple header */',
})).process('.foo{}');
console.log(result);
// > /* A simple header */
// > .foo{}
Options
header
- Type:
String
- Default:
''
- Alias: banner
The string will be put at the beginning of the CSS file.
Versioning
Maintained under the Semantic Versioning guidelines.