# bounding-client-rect

> Cross-browser `getBoundingClientRect()` for all Node types

Latest version **1.0.5** (published 2015-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install bounding-client-rect
pnpm add bounding-client-rect
yarn add bounding-client-rect
bun add bounding-client-rect
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2015-01-26 |
| First published | 2014-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Nathan Rajlich |
| Maintainers | tootallnate |
| Keywords | browser, bounding, client, rect, getBoundingClientRect, TextRectangle, TextNode, Node, Range, HTMLElement |

## Links

- npm: https://www.npmjs.com/package/bounding-client-rect
- Repository: https://github.com/webmodules/bounding-client-rect
- Issues: https://github.com/webmodules/bounding-client-rect/issues
- npm.io page: https://npm.io/package/bounding-client-rect

## Dependencies (1)

- [get-document](https://npm.io/package/get-document.md) 1

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2015-01-26
- 1.0.4 — 2015-01-20
- 1.0.3 — 2014-12-30
- 1.0.2 — 2014-12-17
- 1.0.1 — 2014-12-16
- 1.0.0 — 2014-12-16

## README

bounding-client-rect
====================
### Cross-browser `getBoundingClientRect()` for all Node types

[![Sauce Test Status](https://saucelabs.com/browser-matrix/bounding-client-rect.svg)](https://saucelabs.com/u/bounding-client-rect)

[![Build Status](https://travis-ci.org/webmodules/bounding-client-rect.svg?branch=master)](https://travis-ci.org/webmodules/bounding-client-rect)

[`getBoundingClientRect()`](https://developer.mozilla.org/en-US/docs/Web/API/Element.getBoundingClientRect)
that works on DOM
[`Elements`](https://developer.mozilla.org/en-US/docs/Web/API/Element),
[`Ranges`](https://developer.mozilla.org/en-US/docs/Web/API/Range), and
[`TextNodes`](https://developer.mozilla.org/en-US/docs/Web/API/Text).


Installation
------------

``` bash
$ npm install bounding-client-rect
```

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