# @types/postcss-safe-parser

> TypeScript definitions for postcss-safe-parser

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

## Install

```sh
npm install @types/postcss-safe-parser
pnpm add @types/postcss-safe-parser
yarn add @types/postcss-safe-parser
bun add @types/postcss-safe-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 | 5.0.4 |
| Published | 2023-11-07 |
| First published | 2020-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [postcss](https://npm.io/package/postcss.md) ^8.4.4

## Recent versions

- 5.0.4 (latest) — 2023-11-07
- 5.0.1 (ts3.8) — 2021-12-06
- 5.0.0 (ts3.6) — 2021-04-28
- 4.0.0 (ts3.0) — 2020-05-19
- 5.0.3 — 2023-10-18
- 5.0.2 — 2023-09-24

## README

# Installation
> `npm install --save @types/postcss-safe-parser`

# Summary
This package contains type definitions for postcss-safe-parser (https://github.com/postcss/postcss-safe-parser#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-safe-parser.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-safe-parser/index.d.ts)
````ts
import { Parser, Root } from "postcss";

/**
 * A fault-tolerant CSS parser for PostCSS, which will find & fix syntax errors, capable of parsing any input.
 * It is useful for:
 * Parse legacy code with many hacks. For example, it can parse all examples from {@link http://browserhacks.com/|Browserhacks}.
 * Works with demo tools with live input like {@link http://simevidas.jsbin.com/gufoko/quiet|Autoprefixer demo}.
 */
declare namespace safeParser {
    type PostCssSafeParser = Parser<Root>;
}

declare const safeParser: safeParser.PostCssSafeParser;

export = safeParser;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [postcss](https://npmjs.com/package/postcss)

# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Fabian van der Veen](https://github.com/fvanderveen).

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