js-base64-file

JSON →
library 2.0.3 ·javascript
verified Jun 7, 2026

A Node.js library to load, convert, and save local and remote files (including images) to base64 strings or data URIs. Version 2.0.3 supports both async (callback/Promise) and sync methods. It handles all file types and uses node-fetch for remote file fetching. Key differentiator: simple API for base64 conversion with both local and remote file support.