generic-names
JSON →Helper for building generic names with pattern interpolation, similar to webpack's css-loader. Stable v4.0.0 (latest) uses loader-utils and xxhash64 by default for hashing. Generates scoped class names for CSS Modules, commonly used with postcss-modules-scope. Designed to produce consistent, platform-independent names (fixed in v2.0.1). Breaking changes in v3 and v4 altered hash output — consumers must ensure matching versions with css-loader to avoid class name mismatches.
Traffic · last 30 days ↓25% vs prev 7d
total hits 18
actors 6 distinct systems
last hit 1d ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany
API endpoints
full doc /v1/registry/generic-names
compatibility /v1/registry/generic-names/compatibility