# @types/bem-classname

> TypeScript definitions for bem-classname

Latest version **0.1.2** (published 2023-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/bem-classname
pnpm add @types/bem-classname
yarn add @types/bem-classname
bun add @types/bem-classname
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2023-11-06 |
| First published | 2021-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51381 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/bem-classname
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bem-classname
- npm.io page: https://npm.io/package/@types/bem-classname

## Recent versions

- 0.1.2 (latest) — 2023-11-06
- 0.1.0 (ts3.6) — 2021-07-16
- 0.1.1 — 2023-10-17

## README

# Installation
> `npm install --save @types/bem-classname`

# Summary
This package contains type definitions for bem-classname (https://github.com/Sunify/bem-classname).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bem-classname.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bem-classname/index.d.ts)
````ts
type Block = string;
type Element = string;
type Modifier = string;
type Modifiers = unknown[] | Record<string, unknown>;

declare function bemClassName(
    block: Block,
    elementOrModifiers?: Element | Modifiers,
    modifier?: Modifier | Modifiers,
): string;

export = bemClassName;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:04 GMT
 * Dependencies: none

# Credits
These definitions were written by [pvcresin](https://github.com/pvcresin).

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