Deno Front End Css Parser Save

CSS Lexer & Parser implementation for Deno

Project README

css_parser

CSS Lexer & Parser implementation for Deno

Usage

Parse CSS to AST -

import { parse } from "https://deno.land/x/[email protected]/mod.ts";

let ast = parse("/* comment */ p { color: black; }", {/* OPTIONS */})
// {
//   type: "stylesheet",
//   stylesheet: {
//     rules: [
//       { type: "comment", text: " comment ", position: [Object] },
//       { type: "rule", selectors: [Array], declarations: [Array], position: [Object] }
//     ]
// }
Open Source Agenda is not affiliated with "Deno Front End Css Parser" Project. README Source: deno-front-end/css-parser
Stars
28
Open Issues
4
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating