d11 theme
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.
 
 
 

1.0 KiB

postcss-header

Build Status Downloads Version

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.

License

MIT © Chen Fengyuan