Feature request: add helper function to decode base64 encoded strings #2188
Labels
commons
This item relates to the Commons Utility
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
Use case
Across the project we decode base64 encoded strings in two places: the Parameters utility when fetching configurations from AppConfig, and the upcoming JMESPath utility when using the
powertools_base64()
custom function.To avoid code duplication we should extract this functionality in the commons package so that it can be reused by both consumers.
Solution/User Experience
The utility should have a small footprint and an isolated export so that it can be tree shaken and removed from bundle when not used.
Alternative solutions
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: