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

1.0.4 • Public • Published

Installation

npm install --save @types/scss-parser

Summary

This package contains type definitions for scss-parser (https://github.com/salesforce-ux/scss-parser).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scss-parser.

index.d.ts

export interface InputStreamPosition {
    cursor: number;
    line: number;
    column: number;
}

export interface Node {
    type: string;
    value: string | Node[];
    start?: InputStreamPosition | undefined;
    end?: InputStreamPosition | undefined;
}

export function parse(css: string): Node;

export function stringify(node: Node): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Wessel van der Linden.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    194
  • 1.0.3
    1
  • 1.0.2
    2
  • 1.0.1
    475
  • 1.0.0
    1

Package Sidebar

Install

npm i @types/scss-parser

Weekly Downloads

441

Version

1.0.4

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types