@buildersbank/helpers
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

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

Name Returns Arguments
formatToBase64 string (value)
currencyParser string (value, numberOfDecimalPlaces)
parseToThousands string (value)
currencyToNumber string (value)
removeWhiteSpaces string (value)
toOnlyNumbers string (value)

React Native

Name Returns Arguments
isIOS boolean
generateHaptic void HapticFeedbackType

Package Sidebar

Install

npm i @buildersbank/helpers

Weekly Downloads

0

Version

0.8.0

License

ISC

Unpacked Size

54.3 kB

Total Files

67

Last publish

Collaborators

  • buildersbank