# ts-transform-css-modules-transform

> Extract CSS classnames in TS files

Latest version **0.1.3** (published 2017-04-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install ts-transform-css-modules-transform
pnpm add ts-transform-css-modules-transform
yarn add ts-transform-css-modules-transform
bun add ts-transform-css-modules-transform
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-04-30 |
| First published | 2017-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 86 |
| Author | Long Ho |
| Maintainers | longlho |
| Keywords | typescript, transform, css-modules, modules |

## Links

- npm: https://www.npmjs.com/package/ts-transform-css-modules-transform
- Repository: https://github.com/longlho/ts-transform-css-modules-transform
- Homepage: https://github.com/longlho/ts-transform-css-modules-transform#readme
- Issues: https://github.com/longlho/ts-transform-css-modules-transform/issues
- npm.io page: https://npm.io/package/ts-transform-css-modules-transform

## Dependencies (1)

- [css-modules-require-hook](https://npm.io/package/css-modules-require-hook.md) ^4.0.6

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2017-04-30

## README

# ts-transform-css-modules-transform
Extract css class names from required css module files for TypeScript. This plugin is based on [css-modules-require-hook](https://github.com/css-modules/css-modules-require-hook) and so constructor opts are from that repo.

This allows you to do this in TS files:

```ts
// Import works
import * as css from 'foo.css'
// require also works
const foo = require('foo.css')

console.log(css.foo)
```

Append this to `before` in your compilation step

---
_Source: https://npm.io/package/ts-transform-css-modules-transform · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
