postcss-header
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/postcss-header package

    3.0.1 • Public • Published

    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

    Install

    npm i postcss-header

    DownloadsWeekly Downloads

    8,721

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    4.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • chenfengyuan