CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tailwindcss--node

Node.js-specific utilities and runtime functionality for Tailwind CSS v4, providing compilation tools, module dependency analysis, source map handling, path normalization, and optimization utilities.

43

1.16x
Quality

Pending

Does it follow best practices?

Impact

43%

1.16x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-10/

{
  "context": "Evaluates how well the solution leverages @tailwindcss/node source map serialization helpers to satisfy the spec. Focuses on correct use of toSourceMap for both JSON strings and decoded maps, and on using the inline comment it returns when appending to CSS.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "String input via toSourceMap",
      "description": "Calls @tailwindcss/node toSourceMap on JSON string inputs and surfaces the resulting raw unchanged plus the inline data URL comment exactly as produced by toSourceMap.",
      "max_score": 25
    },
    {
      "name": "Decoded map serialization",
      "description": "Builds a DecodedSourceMap and feeds it to toSourceMap to obtain raw JSON where sources and sourcesContent are deduplicated and mappings populated, instead of manually assembling base64 strings.",
      "max_score": 25
    },
    {
      "name": "Missing source handling",
      "description": "Relies on toSourceMap to generate placeholder source entries (e.g., names starting with \"<unknown\") and empty content when originalPosition is absent or null, rather than inventing custom placeholders.",
      "max_score": 20
    },
    {
      "name": "Inline comment usage",
      "description": "Uses the inline property returned by toSourceMap when appending to CSS, ensuring exactly one newline precedes the comment and avoiding hand-crafted sourceMappingURL strings.",
      "max_score": 15
    },
    {
      "name": "Direct package dependency",
      "description": "Imports toSourceMap (and related types if needed) directly from @tailwindcss/node without reimplementing serialization utilities or pulling alternative source map packages.",
      "max_score": 15
    }
  ]
}

tile.json