postcss-normalize

  • Version 10.0.1
  • Published
  • 32.1 kB
  • 3 dependencies
  • CC0-1.0 license

Install

npm i postcss-normalize
yarn add postcss-normalize
pnpm add postcss-normalize

Overview

Use the parts of normalize.css or sanitize.css you need from your browserslist

Index

Variables

Type Aliases

Variables

variable plugin

const plugin: Plugin;

    Type Aliases

    type Plugin

    type Plugin = {
    (pluginOptions?: PluginOptions): {
    postcssPlugin: 'postcss-normalize';
    Once(root: PostCSS.Root): void;
    postcssImport: {
    load(filename: string, importOptions: any): {};
    resolve(id: string, basedir: string, importOptions: any): {};
    };
    };
    postcss: true;
    };

      type PluginOptions

      type PluginOptions = {
      /** Determines whether multiple, duplicate insertions are allowed */
      allowDuplicates?: boolean;
      /** Defines an override of the project’s browserslist for this plugin. */
      browsers?: string;
      /** Defines whether imports from this plugin will always be inserted at the beginning of a CSS file. */
      forceImport?: boolean;
      };

        Package Files (1)

        Dependencies (3)

        Dev Dependencies (12)

        Peer Dependencies (2)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-normalize.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/postcss-normalize)
        • HTML
          <a href="https://www.jsdocs.io/package/postcss-normalize"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>