Convert Base64 to Binary Function

Job ID: 39525707

Budget: ₹750 – ₹1,250 INR

I need a JavaScript function that runs in a server-side environment and converts Base64 strings (text) to binary.

Requirements:
- Input: Base64 encoded text
- Output: Binary format (to be used for OneDrive API storage)
- Basic error handling required
- Individually function, no atob btoa and buffer functions used in

Ideal Skills and Experience:
- Proficiency in JavaScript (server-side)
- Experience with Base64 and binary data manipulation
- Familiarity with API integrations, especially OneDrive