fetch-base64
JSON →A Node.js package (v2.1.2, last updated 2019) for fetching local or remote files and returning them as base64-encoded strings with optional MIME type prefixes. Useful for inlining assets like images or fonts into HTML/CSS. Provides three functions: `local`, `remote`, and `auto` for path detection. No dependencies, simple API, but no longer actively maintained. Alternative to data URIs with manual encoding.
Traffic · last 30 days stale · no recent hits
total hits 19
actors 3 distinct systems
last hit 17d ago Amazonbot
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇪🇸 Spain · 🇮🇳 India
Resources
packagefetch-base64 ↗