https://github.com/ahabhgk/css-module-lexer
Lexes CSS modules returning their dependencies metadata.
https://github.com/ahabhgk/css-module-lexer
Last synced: 2 months ago
JSON representation
Lexes CSS modules returning their dependencies metadata.
- Host: GitHub
- URL: https://github.com/ahabhgk/css-module-lexer
- Owner: ahabhgk
- Created: 2024-04-11T08:48:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-29T07:14:03.000Z (6 months ago)
- Last Synced: 2024-12-12T09:09:12.371Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 405 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# css-module-lexer
Lexes CSS modules returning their dependencies metadata.
- Blazing fast: no parsing, no AST creation, only lexing, minimal heap allocation.
- Error tolerant: uninterrupted by bad syntax, no errors, only warnings.
- Syntax rich: supports CSS, iCSS, and CSS Modules.## Dependencies
- [x] CSS:
- [x] @import
- [x] url(), image-set()
- [x] iCSS
- [ ] :import
- [x] :export
- [x] CSS Modules
- [x] :local, :local(), :global, :global()
- [x] local .class, local #id
- [x] local scope by default
- [x] composes
- [x] nesting
- [x] local @keyframe
- [x] local var()
- [x] local @property
- [x] local @counter-style
- [x] local @font-palette-values
- [ ] local grid
- [ ] @values