You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| lib | 2 weeks ago | |
| CHANGELOG.md | 2 weeks ago | |
| LICENSE | 2 weeks ago | |
| README.md | 2 weeks ago | |
| index.js | 2 weeks ago | |
| package.json | 2 weeks ago | |
README.md
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 which will be put at the beginning of the css file.
Versioning
Maintained under the Semantic Versioning guidelines.