@types/cssbeautify
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.2 • Public • Published

    Installation

    npm install --save @types/cssbeautify

    Summary

    This package contains type definitions for CSS Beautify (https://github.com/senchalabs/cssbeautify).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cssbeautify.

    index.d.ts

    // Type definitions for CSS Beautify v0.3.1
    // Project: https://github.com/senchalabs/cssbeautify
    // Definitions by: rictic <https://github.com/rictic>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    interface Options {
      /**
       * A string used for the indentation of the declaration (default is 4
       * spaces).
       */
      indent?: string | undefined;
      /**
       * Defines the placement of open curly brace, either end-of-line (default)
       * or separate-line
       */
      openbrace?: 'end-of-line'|'separate-line' | undefined;
    
      /**
       * Always inserts a semicolon after the last ruleset(default is false)
       */
      autosemicolon?: boolean | undefined;
    }
    declare function beautify(cssText: string, options?: Options): string;
    
    export = beautify;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 09:08:24 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by rictic.

    Keywords

    none

    Install

    npm i @types/cssbeautify

    DownloadsWeekly Downloads

    14,323

    Version

    0.3.2

    License

    MIT

    Unpacked Size

    4.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • types