Decodes data encoded with MIME base64
Install
Install all functions of strman
yarn add strmanor just the base64decode function
yarn add strman.base64decodeUsage
import { base64decode } from 'strman'
// OR
import base64decode from 'strman.base64decode'Parameters:
| Name | Type | Description |
|---|---|---|
value |
String | The data to decode. |
- Source:
Returns:
The base64 decoded data.
- Type
- String
Example
base64Decode('c3RybWFu')
// => 'strman'