css-module-lexer

Crates.iocss-module-lexer
lib.rscss-module-lexer
version0.0.14
sourcesrc
created_at2024-04-15 18:28:25.752022
updated_at2024-06-17 05:42:48.820144
descriptionLexes CSS modules returning their dependencies metadata
homepage
repositoryhttps://github.com/ahabhgk/css-module-lexer
max_upload_size
id1209527
size789,043
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: 84

cargo fmt