npm.io
1.0.4 • Published 2 years ago

@types/scss-parser

Licence
MIT
Version
1.0.4
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Wessel van der Linden.