@lfsoftwares/native-util
v0.0.26
Published
Utility library for react native
Downloads
54
Maintainers
Readme
Native Util
Utility library for react native
1. Install
npm i @lfsoftwares/native-util
ou
yarn i @lfsoftwares/native-util
ou
pnpm i @lfsoftwares/native-util
2. Dependencies
If you used a package manager other than npm in step 2, also use it in the command below
npm i expo-clipboard expo-constants expo-crypto expo-device expo-splash-screen moment react-native-format-currency
3. What's included?
- RNGeneralConsts
- RNRegexConsts
- RNDateUtils
- RNFormatUtils
- RNGeneralUtils
- RNMaskUtils
- RNNetworkUtils
- RNNumberUtils
- RNValidationUtils
Use:
import { RNNetworkUtils } from '@lfsoftwares/native-util'
if (RNNetworkUtils.isInternalNetwork('http://www.meusite.com.br')){
...
}
4. Contribution
Feel free to submit a PR if you want to help!
5. Licence
Licensed under the MIT License, Copyright © 2023 LFSoftwares. See LICENCE for more information.