UNPKG

css-tree

Version:

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

5 lines (3 loc) 140 B
import { createParser } from './create.js'; import config from '../syntax/config/parser-selector.js'; export default createParser(config);