All Projects β†’ tiaanduplessis β†’ react-native-scaling-utils

tiaanduplessis / react-native-scaling-utils

Licence: MIT license
Simple scaling utilities for React Native

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-scaling-utils

2dimagefilter
A collection of image filters, some especially suited to scale-up low res computer graphics.
Stars: ✭ 32 (+166.67%)
Mutual labels:  scaling
Redux Definitions
πŸ₯’ Define and share reusable slices of Redux.
Stars: ✭ 27 (+125%)
Mutual labels:  scaling
Wsstat
Websocket stress testing made beautiful
Stars: ✭ 143 (+1091.67%)
Mutual labels:  scaling
magento-cluster
Highly Available and Auto-scalable Magento Cluster
Stars: ✭ 21 (+75%)
Mutual labels:  scaling
Postgresql book
Book about PostgreSQL (russian)
Stars: ✭ 780 (+6400%)
Mutual labels:  scaling
Engineering Blog
πŸ“ We write about our technologies and the problems we handle at scale.
Stars: ✭ 99 (+725%)
Mutual labels:  scaling
coord-sim
Lightweight flow-level simulator for inter-node network and service coordination (e.g., in cloud/edge computing or NFV).
Stars: ✭ 33 (+175%)
Mutual labels:  scaling
Replicator
Automated Cluster and Job Scaling For HashiCorp Nomad
Stars: ✭ 166 (+1283.33%)
Mutual labels:  scaling
Aeternity
Γ¦ternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+7591.67%)
Mutual labels:  scaling
Serverless Dynamodb Autoscaling
Serverless Plugin for Amazon DynamoDB Auto Scaling configuration.
Stars: ✭ 142 (+1083.33%)
Mutual labels:  scaling
Kube Downscaler
Scale down Kubernetes deployments after work hours
Stars: ✭ 482 (+3916.67%)
Mutual labels:  scaling
Ecs Deploy
Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Stars: ✭ 541 (+4408.33%)
Mutual labels:  scaling
React Native Size Matters
A lightweight, zero-dependencies, React-Native utility belt for scaling the size of your apps UI across different sized devices.
Stars: ✭ 1,706 (+14116.67%)
Mutual labels:  scaling
scaling-nodejs
πŸ“ˆ Scaling Node.js on each X, Y and Z axis using Node.js Native Modules, PM2, AWS , Load Balancers, AutoScaling, Nginx, AWS Cloudfront
Stars: ✭ 73 (+508.33%)
Mutual labels:  scaling
Custom Pod Autoscaler
Custom Pod Autoscaler base, allows creation of Custom Pod Autoscalers
Stars: ✭ 148 (+1133.33%)
Mutual labels:  scaling
pat-helland-and-me
Materials related to my talk "Pat Helland and Me"
Stars: ✭ 14 (+16.67%)
Mutual labels:  scaling
Cetus
Cetus is a high performance middleware that provides transparent routing between your application and any backend MySQL Servers.
Stars: ✭ 1,199 (+9891.67%)
Mutual labels:  scaling
Elixir Node
Elixir full node implementation of the aeternity specification
Stars: ✭ 208 (+1633.33%)
Mutual labels:  scaling
Github Actions Runner Operator
K8S operator for scheduling github actions runner pods
Stars: ✭ 159 (+1225%)
Mutual labels:  scaling
Superview
A small program that takes a 4:3 aspect ratio video file, and transforms it to a 16:9 video using the GoPro SuperView method
Stars: ✭ 137 (+1041.67%)
Mutual labels:  scaling

react-native-scaling-utils

package version package downloads standard-readme compliant package license make a pull request

Simple scaling utilities for React Native

Table of Contents

Install

This project uses node and npm.

$ npm install react-native-scaling-utils
$ # OR
$ yarn add react-native-scaling-utils

Usage

import {
    screenHeight, 
    screenWidth,
    scale,
    isPortrait,
    isLandscape,
    removeDimensionsListener
} from 'react-native-scaling-utils'

console.log(screenHeight)
console.log(screenWidth)
console.log(scale.font(10))
console.log(scale.height(10)) // 10%
console.log(scale.width(50)) // 50%
console.log(isPortrait) 
console.log(isLandscape)
removeDimensionsListener()

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].