# @tinyfe/classnames

> classnames

Latest version **0.0.8** (published 2022-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tinyfe/classnames
pnpm add @tinyfe/classnames
yarn add @tinyfe/classnames
bun add @tinyfe/classnames
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2022-01-08 |
| First published | 2021-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Rain120 |
| Maintainers | rain120 |
| Keywords | classname, classnames, prefix, prefix-classname |

## Links

- npm: https://www.npmjs.com/package/@tinyfe/classnames
- Repository: https://github.com/tinyfe/one-utils
- Homepage: https://github.com/tinyfe/one-utils#readme
- Issues: https://github.com/tinyfe/one-utils/issues
- npm.io page: https://npm.io/package/@tinyfe/classnames

## Recent versions

- 0.0.8 (latest) — 2022-01-08
- 0.0.7 — 2022-01-05
- 0.0.6 — 2021-11-20
- 0.0.4 — 2021-08-27
- 0.0.3 — 2021-05-12
- 0.0.2 — 2021-04-01

## README

# @tinyfe/classnames

> The useful utility for making scoped classname.

## Usage

```js
import { prefix, classnames } from '@tinyfe/classnames';

classnames(1, 'info', ['rain120', { FEer: true }], {
  react: true,
  vue: false,
}); // 1 info rain120 FEer react

prefix('RAINY__')(1, 'info', ['rain120', { FEer: true }], {
  react: true,
  vue: false,
}); // RAINY__1 RAINY__info RAINY__rain120 RAINY__FEer RAINY__react
```

---
_Source: https://npm.io/package/@tinyfe/classnames · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
