@types/postcss-safe-parser
TypeScript definitions for postcss-safe-parser
Last updated 4 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/postcss-safe-parser 
SYNC missed versions from official npm registry.

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

// Type definitions for postcss-safe-parser 5.0
// Project: https://github.com/postcss/postcss-safe-parser#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
//                 Fabian van der Veen <https://github.com/fvanderveen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.6

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: Mon, 06 Dec 2021 17:01:01 GMT
  • Dependencies: @types/postcss
  • Global values: none

Credits

These definitions were written by Piotr Błażejewicz, and Fabian van der Veen.

Current Tags

  • 5.0.1                                ...           latest (4 years ago)
  • 4.0.0                                ...           ts3.0 (6 years ago)
  • 4.0.0                                ...           ts3.1 (6 years ago)
  • 4.0.0                                ...           ts3.2 (6 years ago)
  • 4.0.0                                ...           ts3.3 (6 years ago)
  • 4.0.0                                ...           ts3.4 (6 years ago)
  • 4.0.0                                ...           ts3.5 (6 years ago)
  • 5.0.0                                ...           ts3.6 (5 years ago)
  • 5.0.0                                ...           ts3.7 (5 years ago)
  • 5.0.1                                ...           ts3.8 (4 years ago)
  • 5.0.1                                ...           ts3.9 (4 years ago)
  • 5.0.1                                ...           ts4.0 (4 years ago)
  • 5.0.1                                ...           ts4.1 (4 years ago)
  • 5.0.1                                ...           ts4.2 (4 years ago)
  • 5.0.1                                ...           ts4.3 (4 years ago)
  • 5.0.1                                ...           ts4.4 (4 years ago)
  • 5.0.1                                ...           ts4.5 (4 years ago)
  • 5.0.1                                ...           ts4.6 (4 years ago)
  • 5.0.1                                ...           ts4.7 (4 years ago)
  • 5.0.1                                ...           ts4.8 (4 years ago)
  • 5.0.1                                ...           ts4.9 (4 years ago)
  • 5.0.1                                ...           ts5.0 (4 years ago)
  • 5.0.1                                ...           ts5.1 (4 years ago)

3 Versions

  • 5.0.1                                ...           4 years ago
  • 5.0.0                                ...           5 years ago
  • 4.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |