New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unit.gl

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unit.gl - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

2

package.json
{
"name": "unit.gl",
"version": "0.0.27",
"version": "0.0.28",
"description": "Layout Engine.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -75,2 +75,27 @@ <div align="right">

## Unit System
### Digital Size Conversions
### Physical SizeConversions
### Pixel Density
| Density Bucket | Screen Density | Physical Size | Pixel Size | |
| :---------------- | ----------------: | ----------------: | ----------------: | ----------------: |
| `ldpi` | 120 *dpi* | 0.5 x 0.5 *in* | 60 x 60 *px* | 0.5 in x 120 dpi |
| `mdpi` | 160 *dpi* | 0.5 x 0.5 *in* | 80 x 80 *px* | 0.5 in x 160 dpi |
| `hdpi` | 240 *dpi* | 0.5 x 0.5 *in* | 120 x 120 *px* | 0.5 in x 240 dpi |
| `xhdpi` | 320 *dpi* | 0.5 x 0.5 *in* | 160 x 160 *px* | 0.5 in x 320 dpi |
| `xxhdpi` | 480 *dpi* | 0.5 x 0.5 *in* | 240 x 240 *px* | 0.5 in x 480 dpi |
| `xxxhdpi` | 640 *dpi* | 0.5 x 0.5 *in* | 320 x 320 *px* | 0.5 in x 640 dpi |
More information:
- [Understanding Density Independence In Android](https://blog.mindorks.com/understanding-density-independent-pixel-sp-dp-dip-in-android/)
- [Material Design | Pixel density](https://m2.material.io/design/layout/pixel-density.html)
---

@@ -77,0 +102,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc