# @ribarich/web-utils

> Various web utilities.

Latest version **1.0.2** (published 2023-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ribarich/web-utils
pnpm add @ribarich/web-utils
yarn add @ribarich/web-utils
bun add @ribarich/web-utils
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-05-07 |
| First published | 2023-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 146 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | ribarich |

## Links

- npm: https://www.npmjs.com/package/@ribarich/web-utils
- Repository: https://github.com/ribaricplusplus/web-utils
- Homepage: https://github.com/ribaricplusplus/web-utils#readme
- Issues: https://github.com/ribaricplusplus/web-utils/issues
- npm.io page: https://npm.io/package/@ribarich/web-utils

## Dependencies (1)

- [assert](https://npm.io/package/assert.md) ^2.0.0

## Recent versions

- 1.0.2 (latest) — 2023-05-07
- 1.0.1 — 2023-05-07
- 1.0.0 — 2023-05-07

## README

# Ribarich web utils

## FlexObserver

Flex observer allows you to detect when some flex elements wrap.

```js
import { FlexObserver } from '@ribarich/web-utils'
const observer = new FlexObserver()
const config = {
	flexContainer: document.querySelector('.flex-container')
	changeCallback: ( wrappedElements ) => { // Do something with elements that wrapped }
}
observer.observe(config)
```

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