Package · npm
use-device-pixel-ratio
npm · v1.1.2 · MIT
React hook for finding device pixel ratio (DPR), optionally capping/rounding
Technologies
Install
npm install use-device-pixel-ratioAdoption
- Downloads (30 days)
- 3.6M
- Observeddownloads / 30 days
- Popularity
- Top 50% on npm
- Derived57th percentile within npm
- Dependents
- Collectinghistory
- Collecting
- Maintenance
- 0.09
- DerivedRelease cadence and recency, 0 to 1
- Releases per year
- 3.9
- 5 versions over its life
Growth by period
Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
- 7 days
- +4.0% · 7d
- Derived+138.1K downloads / 30 days, SEP 29 → OCT 6
- 30 days
- +17.8% · 30d
- Derived+540.7K downloads / 30 days, SEP 6 → OCT 6
- 90 days
- +44.3% · 90d
- Derived+1.1M downloads / 30 days, JUL 6 → OCT 6
- 1 year
- +281.5% · 1y
- Derived+2.6M downloads / 30 days, NOV 10 → OCT 6
Adoption history
Adoption historydownloads / 30 days · 31 observations
Table of observations (31)
| Day | downloads / 30 days | Dependents |
|---|---|---|
| OCT 6, 2026 | 3,583,332 | Not observed |
| OCT 5, 2026 | 3,506,482 | Not observed |
| OCT 4, 2026 | 3,583,332 | Not observed |
| OCT 3, 2026 | 3,632,880 | Not observed |
| OCT 2, 2026 | 3,545,260 | Not observed |
| OCT 1, 2026 | 3,525,164 | Not observed |
| SEP 30, 2026 | 3,483,318 | Not observed |
| SEP 29, 2026 | 3,445,265 | Not observed |
| SEP 28, 2026 | 3,326,072 | Not observed |
| SEP 27, 2026 | 3,212,043 | Not observed |
| SEP 26, 2026 | 3,272,088 | Not observed |
| SEP 25, 2026 | 3,342,744 | Not observed |
| SEP 24, 2026 | 3,332,987 | Not observed |
| SEP 23, 2026 | 3,312,714 | Not observed |
| SEP 22, 2026 | 3,264,974 | Not observed |
| SEP 21, 2026 | 3,156,341 | Not observed |
| SEP 20, 2026 | 3,064,602 | Not observed |
| SEP 19, 2026 | 3,107,913 | Not observed |
| SEP 18, 2026 | 3,151,654 | Not observed |
| SEP 17, 2026 | 3,131,090 | Not observed |
| SEP 16, 2026 | 3,104,893 | Not observed |
| SEP 15, 2026 | 3,064,664 | Not observed |
| SEP 14, 2026 | 3,123,111 | Not observed |
| SEP 13, 2026 | 3,026,697 | Not observed |
| SEP 12, 2026 | 2,953,738 | Not observed |
| SEP 11, 2026 | 3,015,679 | Not observed |
| SEP 10, 2026 | 2,999,810 | Not observed |
| SEP 9, 2026 | 2,971,343 | Not observed |
| SEP 8, 2026 | 2,931,721 | Not observed |
| SEP 7, 2026 | 2,987,507 | Not observed |
| SEP 6, 2026 | 3,042,585 | Not observed |
Facts from the registry
- Latest version
- v1.1.2
- 5 versions
- First published
- AUG 31, 2021
- Last release
- DEC 13, 2022
- 4y ago
- Licence
- MIT
Repository
Not in the Crest catalog
rexxars/use-device-pixel-ratio (GitHub, opens in a new tab)
The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.
Dependencies latest version · v1.1.2
Peer 1
- react
>=16.8.0
Related packages
- inscriptisinscriptis - HTML to text converter.Same primary category
- dom_queryHTML querying and manipulation with CSS selectorsSame primary category
- wtformsForm validation and rendering for Python web development.Same primary category
- @next/envNext.js dotenv file loadingSame primary category
- @sentry/opentelemetryOfficial Sentry utilities for OpenTelemetrySame primary category
- @sentry/reactOfficial Sentry SDK for React.jsSame primary category
Related news
No published news event mentions this package or its repository yet.