Skip to content

helpers 0.8.1

Install from the command line:
Learn more about npm packages
$ npm install @platformbuilders/helpers@0.8.1
Install via package.json:
"@platformbuilders/helpers": "0.8.1"

About this version

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)
formatToPhone string (value)

React Native

Name Returns Arguments
isIOS boolean
generateHaptic void HapticFeedbackType

Details


Assets

  • helpers-0.8.1.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0