0.8.0 • Published 1 year ago

@buildersbank/helpers v0.8.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Welcome to Platform Builders Helpers

Build Status codecov npm MIT

Welcome to the Platform Builder helpers package here you will find out all the helpers that we use on our projects

Whats the idea of this repository

Its a place that we can share a little bit of our code base and show how we work on our projects with our helpers

How can i use the library?

Just add the library to your project and import it!

  1. Depend on it:
yarn add @platformbuilders/helpers

If using Native helpers:

yarn add react-native-haptic react-native-size-matters
  1. Import:
import { getTheme } from '@platformbuilders/helpers'
import { isIOS } from '@platformbuilders/helpers/native'

Helpers Documentation

React/JS

NameReturnsArguments
formatToBase64string(value)
currencyParserstring(value, numberOfDecimalPlaces)
parseToThousandsstring(value)
currencyToNumberstring(value)
removeWhiteSpacesstring(value)
toOnlyNumbersstring(value)

React Native

NameReturnsArguments
isIOSboolean
generateHapticvoidHapticFeedbackType
0.8.0

1 year ago

0.7.2

1 year ago