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) 131 B
import { createParser } from './create.js'; import config from '../syntax/config/parser.js'; export default createParser(config);