Gathering detailed insights and metrics for @freakycoder/react-native-helpers
Gathering detailed insights and metrics for @freakycoder/react-native-helpers
Gathering detailed insights and metrics for @freakycoder/react-native-helpers
Gathering detailed insights and metrics for @freakycoder/react-native-helpers
All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy useEasy to use & awesome helpers for React Native.
npm install @freakycoder/react-native-helpers
Typescript
Module System
Node Version
NPM Version
TypeScript (62.57%)
Java (18.1%)
Objective-C (13.12%)
Ruby (2.13%)
JavaScript (1.85%)
Starlark (1.76%)
Shell (0.47%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
88 Stars
407 Commits
6 Forks
4 Watchers
2 Branches
1 Contributors
Updated on Jun 25, 2025
Latest Version
2.5.1
Package Id
@freakycoder/react-native-helpers@2.5.1
Unpacked Size
110.32 kB
Size
32.06 kB
File Count
53
NPM Version
10.9.0
Node Version
20.10.0
Published on
Feb 26, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
All helpers in one; iPhone series support, dimensions helper, hasNotch helper, normalize text helper and text helpers for React Native with very easy use
Add the dependency:
1npm i @freakycoder/react-native-helpers
1import { 2 Screen, 3 ScreenWidth, 4 ScreenHeight, 5 isIOS, 6 isAndroid, 7 isTablet 8} from "@freakycoder/react-native-helpers"; 9 10<View> 11 <Container title="Device OS" subtitle={isIOS ? "iOS" : "Android"} /> 12 <Container title="Screen Height" subtitle={ScreenHeight} /> 13 <Container title="Screen Width" subtitle={ScreenWidth} /> 14 <Container title="Tablet?: " subtitle={isTablet ? "Tablet" : "Phone"} /> 15</View>;
1import { 2 getStatusBarHeight, 3 hasNotch, 4 hasNotchOnly, 5 hasDynamicIsland, 6 getStatusBarHeight, 7} from "@freakycoder/react-native-helpers"; 8 9<View> 10 <Container 11 title="hasNotch?" 12 subtitle={hasNotch() ? "Has Notch" : "NOT notch"} 13 /> 14 <Container 15 title="hasDynamicIsland?" 16 subtitle={ 17 hasDynamicIsland(Screen) ? "Has Dynamic Island" : "NOT Dynamic Island" 18 } 19 /> 20 <Container title="getStatusBarHeight?" subtitle={getStatusBarHeight()} /> 21</View>;
1import { openAppInPlayStore, openAppInAppStore, openExternalApp } from "@freakycoder/react-native-helpers"; 2 3openAppInPlayStore('com.example.android'); 4openAppInAppStore('123456789'); 5openExternalApp('com.example.android', '123456789');
Method to normalize size of fonts across devices
1import { normalizeText } from "@freakycoder/react-native-helpers"; 2 3fontSize: normalizeText(24),
Method to format the number of your texted number. You can change each options.
1import { numberFormat } from "@freakycoder/react-native-helpers"; 2 3<Text>{numberFormat(50319341)</Text> // Output: 50.319.341 4<Text> 5 {numberFormat(1093495, "en", { 6 style: "currency", 7 currency: "GBP" 8 })} 9</Text>// Output: £ 50.319.341
Property | Type | Description |
---|---|---|
isIOS | boolean | returns if it is an iOS device or not |
isAndroid | boolean | returns if it is an Android device or not |
isTablet | boolean | returns if it is a tablet or phone |
ScreenWidth | number | get the device's screen width |
ScreenHeight | number | get the device's screen height |
ScreenScale | number | get the device's screen scale ratio |
ScreenFontScale | number | get the device's screen font scale ratio (depends on the user's device font scale setting) |
WindowWidth | number | get the device's window width |
WindowHeight | number | get the device's window height |
WindowScale | number | get the device's window scale ratio |
WindowFontScale | number | get the device's window font scale ratio (depends on the user's device font scale setting) |
PlatformVersion | number | returns the platform version |
ScreenMin | number | get the device's screen width/height which are minimum depend on the landscape or portrait mode |
ScreenMax | number | get the device's screen width/height which are maximum depend on the landscape or portrait mode |
vh | number | get the device's height but as a viewport unit |
vw | number | get the device's width but as a viewport unit |
vmin | number | get the device's screen width/height as a viewport unit which are minimum depend on the landscape or portrait mode |
vmax | number | get the device's screen width/height as a viewport unit which are maximum depend on the landscape or portrait mode |
getDeviceLanguage | string | get the device's language (en_US) |
getStatusBarHeight, hasNotch, hasNotchOnly, hasDynamicIsland
Property | Type | Description |
---|---|---|
hasNotch | function | returns if the device has notch (returns true for dynamic island!) |
hasNotchOnly | function | returns if the device has notch only, it does not detect if the device has dynamic island |
hasDynamicIsland | function | returns if the device has dynamic island |
getStatusBarHeight | number | returns status bar height of the device |
Property | Type | Description |
---|---|---|
openAppInPlayStore | function(appPackageName) | opens the app on android or Google Play |
openAppInAppStore | function(appStoreId) | opens the app on ios or App Store |
openExternalApp | function(appPackageName, appStoreId) | opens the app on ios or android - handles the platform |
Property | Type | Description |
---|---|---|
normalize | function(number) | returns the normalized font size |
Property | Type | Description |
---|---|---|
numberFormat | function(value, locale, options) | returns the number formatted font with its given parameters |
FreakyCoder, kurayogun@gmail.com
React Native Helpers Library is available under the MIT license. See the LICENSE file for more info.
No vulnerabilities found.
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
24 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More