Welcome to the Platform Builder helpers
package here you will find out all the helpers that we use on our projects
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
Just add the library to your project and import it!
- 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`](./docs/formatToBase64.md) | string | (value) |
| [`currencyParser`](./docs/currencyParser.md) | string | (value, numberOfDecimalPlaces) |
| [`parseToThousands`](./docs/parseToThousands.md) | string | (value) |
| [`currencyToNumber`](./docs/currencyToNumber.md) | string | (value) |
| [`removeWhiteSpaces`](./docs/removeWhiteSpaces.md) | string | (value) |
| [`toOnlyNumbers`](./docs/toOnlyNumbers.md) | string | (value) |
| [`formatToPhone`](./docs/formatToPhone.md) | string | (value) |
## React Native
| Name | Returns | Arguments |
| --------------------------------------------------- | ------- | ------------------ |
| [`isIOS`](./docs/native/isIOS.md) | boolean | |