🌜
🌞

Best JavaScript CSS Parser Libraries

postcss

postcss

v8.4.16

Tool for transforming styles with JS plugins

Last Commit
Sep 23, 2022
GitHub Stargazers
26.7K
License
MIT
Contributors
99
css-what

css-what

v6.1.0

a CSS selector parser

Last Commit
Sep 20, 2022
GitHub Stargazers
194
License
BSD-2-Clause
Contributors
20
css-tree

css-tree

v2.1.0

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

Last Commit
Aug 22, 2022
GitHub Stargazers
1,512
License
MIT
Contributors
14
colord

colord

v2.9.2

👑 A tiny yet powerful tool for high-performance color manipulations and conversions

Last Commit
Aug 10, 2022
GitHub Stargazers
1,029
License
MIT
Contributors
8
postcss-safe-parser

postcss-safe-parser

v6.0.0

Fault-tolerant CSS parser for PostCSS

Last Commit
Jul 7, 2022
GitHub Stargazers
111
License
MIT
Contributors
4
color-string

color-string

v1.9.1

Parser and generator for CSS color strings

Last Commit
Apr 22, 2022
GitHub Stargazers
201
License
MIT
Contributors
17
html-minifier-terser

html-minifier-terser

v7.0.0-beta.0

Highly configurable, well-tested, JavaScript-based HTML minifier.

Last Commit
Aug 15, 2022
GitHub Stargazers
226
License
MIT
Contributors
80
postcss-values-parser

postcss-values-parser

v6.0.2

A CSS property value parser for use with PostCSS

Last Commit
Jan 7, 2022
GitHub Stargazers
47
License
MPL-2.0
Contributors
17
css

css

v3.0.0

CSS parser / stringifier

Last Commit
May 25, 2021
GitHub Stargazers
1,434
License
MIT
Contributors
22
postcss-scss

postcss-scss

v4.0.4

SCSS parser for PostCSS

Last Commit
Sep 14, 2022
GitHub Stargazers
593
License
MIT
Contributors
10
less

less

v4.1.3

Leaner CSS

Last Commit
Aug 20, 2022
GitHub Stargazers
16.9K
License
Apache-2.0
Contributors
99
css-selector-parser

css-selector-parser

v1.4.1

Just a CSS selector parser.

Last Commit
Apr 12, 2020
GitHub Stargazers
96
License
MIT
Contributors
3
@chakra-ui/styled-system

@chakra-ui/styled-system

v2.2.5

Style function for css-in-js building component libraries

Last Commit
Sep 22, 2022
GitHub Stargazers
28.8K
License
MIT
Contributors
97
stylus

stylus

v0.58.1

Robust, expressive, and feature-rich CSS superset

Last Commit
Sep 21, 2022
GitHub Stargazers
11K
License
MIT
Contributors
99
postcss-less

postcss-less

v6.0.0

LESS parser for PostCSS

Last Commit
Jan 7, 2022
GitHub Stargazers
110
License
MIT
Contributors
21
postcss-value-parser

postcss-value-parser

v4.2.0

Transforms css values and at-rule params into the tree

Last Commit
Nov 30, 2021
GitHub Stargazers
121
License
MIT
Contributors
12
sugarss

sugarss

v4.0.1

Indent-based CSS syntax for PostCSS

Last Commit
Apr 10, 2022
GitHub Stargazers
665
License
MIT
Contributors
15
css-url-parser

css-url-parser

v1.1.3

Parse urls from css

Last Commit
Jul 1, 2022
GitHub Stargazers
22
License
MIT
Contributors
3
rst-selector-parser

rst-selector-parser

v2.2.3

A CSS-based selector parser for React Standard Tree (RST) traversal

Last Commit
Feb 26, 2019
GitHub Stargazers
17
License
BSD-3-Clause
Contributors
style-to-object

style-to-object

v0.3.0

Converts inline style to object.

Last Commit
Jun 1, 2022
GitHub Stargazers
21
License
MIT
Contributors
3
@parcel/css

@parcel/css

v1.12.2

A CSS parser, transformer, and minifier written in Rust

Last Commit
Sep 22, 2022
GitHub Stargazers
2,625
License
MPL-2.0
Contributors
23
cssom

cssom

v0.5.0

CSS Object Model implementation and CSS parser

Last Commit
Jun 20, 2021
GitHub Stargazers
720
License
MIT
Contributors
18