# Install happy-css-modules with npm

Creates .d.ts files from CSS Modules .css files. Version 5.0.2 via npm; verified 2026-07-02.

## Install

```sh
sudo av install npm:happy-css-modules
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g happy-css-modules
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:happy-css-modules
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/happy-css-modules>
- **Version:** 5.0.2
- **Source summary:** Creates .d.ts files from CSS Modules .css files
- **Homepage:** <https://github.com/mizdra/happy-css-modules#readme>
- **Repository:** <https://github.com/mizdra/happy-css-modules>
- **Upstream docs:** <https://github.com/mizdra/happy-css-modules#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/happy-css-modules/-/happy-css-modules-5.0.2.tgz>
- **Issue tracker:** <https://github.com/mizdra/happy-css-modules/issues>
- **Published:** 2026-07-02T13:23:24.677Z
- **Last updated:** 2026-07-02T13:23:24.677Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- hcm (cli)
- hcm (alias)

## Dependencies

- @file-cache/core
- @file-cache/npm
- camelcase
- chokidar
- enhanced-resolve
- import-meta-resolve
- postcss
- postcss-load-config
- postcss-modules
- postcss-selector-parser
- postcss-value-parser
- source-map

## Build dependencies

- @mizdra/oxfmt-config
- @mizdra/oxlint-config
- @types/dedent
- @types/less
- @types/node
- @typescript/server-harness
- dedent
- less
- less-3
- less-4
- npm-run-all2
- oxfmt
- oxlint
- oxlint-tsgolint
- postcss-import
- postcss-simple-vars
- sass
- typescript
- vite
- vitest

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 5.0.2
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://github.com/mizdra/happy-css-modules
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for happy-css-modules. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 5.0.2
- **Version Count:** 22
- **Maintainers:** mizdra
- **Author:** mizdra
- **Publisher:** GitHub Actions
- **Engines:** Node: ^22.20.0 || ^24.8.0 || >=26.0.0
- **Peer Dependencies:** less, postcss, sass
- **Integrity:** sha512-Q/tI30R+4O58f3LX/xQZogAk7AQ7UWop/lwwizCfGuLGpbXkjezYdXEKNW78zv9rI8rrZLa6ByH/ElrC4b9OlA==
- **Shasum:** 4c9c39050c26d135aef39a7b9e362bf0a6ce61ba
- **Unpacked Size:** 199,609
- **File Count:** 0
- **Created At:** 2022-09-11T16:43:56.929Z
- **Latest Published At:** 2026-07-02T13:23:24.677Z
- **Modified At:** 2026-07-02T13:23:24.944Z


## Related links

- [Web development packages](https://pkg.so/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [react-scripts](https://pkg.so/npm/react-scripts/) - Local package facts share a topical domain. Shared terms: camelcase, cli, config, core, css.
- [juice](https://pkg.so/npm/juice/) - Local package facts share a topical domain. Shared terms: cli, css, developer, developer-tools, development.
- [typed-css-modules](https://pkg.so/npm/typed-css-modules/) - Local package facts share a topical domain. Shared terms: camelcase, chokidar, cli, creates, css.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
