# blazer-utils

> Style utilities.

Latest version **3.1.1** (published 2025-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install blazer-utils
pnpm add blazer-utils
yarn add blazer-utils
bun add blazer-utils
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.1 |
| Published | 2025-05-19 |
| First published | 2016-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivan Nikolić |
| Maintainers | niksy |
| Keywords | blazer, css, style, utilities |

## Links

- npm: https://www.npmjs.com/package/blazer-utils
- Repository: https://github.com/niksy/blazer-utils
- Homepage: https://github.com/niksy/blazer-utils#readme
- Issues: https://github.com/niksy/blazer-utils/issues
- npm.io page: https://npm.io/package/blazer-utils

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 3.1.1 (latest) — 2025-05-19
- 3.1.0 — 2025-05-19
- 3.0.0 — 2025-05-15
- 2.0.1 — 2024-08-23
- 2.0.0 — 2021-01-14
- 1.0.0 — 2016-12-04

## README

# blazer-utils

[![Build Status][ci-img]][ci]

Style utilities. Contains Sass mixins and corresponding CSS classes.

## Install

```sh
npm install blazer-utils --save
```

## Usage

### Mixins

```scss
@use 'blazer-utils/mixins' as blazer;

.jackie {
	@include blazer.cf;
}
```

### Classes

```scss
@use 'blazer-utils' as *;

// File now contains all CSS classes
```

## API

### Mixins

-   `image-replacement` - Image replacement.
-   `hidden` - Hide from both screenreaders and browsers.
-   `invisible` - Hide visually and from screenreaders, but maintain layout.
-   `hidden-visually` - Hide only visually, but have it available for
    screenreaders.
-   `cf` - Clearfix for containing floats.

### Classes

-   `.u-imageReplacement` - Contains `image-replacement`.
-   `.u-hidden` - Contains `hidden`.
-   `.u-invisible` - Contains `invisible`.
-   `.u-hiddenVisually` - Contains `hidden-visually`.
-   `.u-cf` - Contains `cf`.

## Test

For manual tests, run `npm run test:manual:local` and open
<http://localhost:9000/> in your browser.

## Browser support

Tested in IE11+ and all modern browsers.

## License

MIT © [Ivan Nikolić](http://ivannikolic.com)

<!-- prettier-ignore-start -->

[ci]: https://travis-ci.org/niksy/blazer-utils
[ci-img]: https://travis-ci.org/niksy/blazer-utils.svg?branch=master

<!-- prettier-ignore-end -->

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