{"library":"generic-names","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","css-modules","postcss-modules-scope","webpack","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install generic-names","imports":["import generate from 'generic-names'","const generate = require('generic-names')","import type { GenericNamesOptions } from 'generic-names'"]},{"cmd":"yarn add generic-names","imports":[]},{"cmd":"pnpm add generic-names","imports":[]}],"homepage":null,"github":"https://github.com/css-modules/generic-names","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/generic-names","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/generic-names/compatibility"}}