css-module-lexer

Crates.iocss-module-lexer
lib.rscss-module-lexer
version0.0.15
sourcesrc
created_at2024-04-15 18:28:25.752022
updated_at2024-11-11 06:58:59.010464
descriptionLexes CSS modules returning their dependencies metadata
homepage
repositoryhttps://github.com/ahabhgk/css-module-lexer
max_upload_size
id1209527
size789,784
Gengkun (ahabhgk)

documentation

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

  • CSS:
    • @import
    • url(), image-set()
  • iCSS
    • :import
    • :export
  • CSS Modules
    • :local, :local(), :global, :global()
    • local .class, local #id
    • local scope by default
    • composes
    • nesting
    • local @keyframe
    • local var()
    • local @property
    • local @counter-style
    • local @font-palette-values
    • local grid
    • @values
Commit count: 86

cargo fmt