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

0.3.5 • Public • Published

Installation

npm install --save @types/cssbeautify

Summary

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

Details

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

index.d.ts

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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by rictic.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/cssbeautify

Weekly Downloads

5,516

Version

0.3.5

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • types