# @types/scss-parser

> TypeScript definitions for scss-parser

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/scss-parser
pnpm add @types/scss-parser
yarn add @types/scss-parser
bun add @types/scss-parser
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2019-12-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/scss-parser
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scss-parser
- npm.io page: https://npm.io/package/@types/scss-parser

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.1 (ts3.6) — 2021-07-06
- 1.0.0 (ts2.8) — 2019-12-27
- 1.0.3 — 2023-10-18
- 1.0.2 — 2023-09-25

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scss-parser/index.d.ts)
````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](https://github.com/wesselvanderlinden).

---
_Source: https://npm.io/package/@types/scss-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
