helpers

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

2. Import:

import { getTheme } from ‘@platformbuilders/helpers’ import { isIOS } from ‘@platformbuilders/helpers/native’


# Helpers Documentation

## React/JS

| Name                                               | Returns | Arguments                      |
| -------------------------------------------------- | ------- | ------------------------------ |
| [`formatToBase64`](/helpers/docs/formatToBase64.html)       | string  | (value)                        |
| [`currencyParser`](/helpers/docs/currencyParser.html)       | string  | (value, numberOfDecimalPlaces) |
| [`parseToThousands`](/helpers/docs/parseToThousands.html)   | string  | (value)                        |
| [`currencyToNumber`](/helpers/docs/currencyToNumber.html)   | string  | (value)                        |
| [`removeWhiteSpaces`](/helpers/docs/removeWhiteSpaces.html) | string  | (value)                        |
| [`toOnlyNumbers`](/helpers/docs/toOnlyNumbers.html)         | string  | (value)                        |
| [`formatToPhone`](/helpers/docs/formatToPhone.html)         | string  | (value)                        |

## React Native

| Name                                                | Returns | Arguments          |
| --------------------------------------------------- | ------- | ------------------ |
| [`isIOS`](/helpers/docs/native/isIOS.html)                   | boolean |                    |