{"library":"fetch-base64","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.1.2","tags":["javascript","base64","html","encoding","picture","assets","static","files","embedding"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-base64","imports":["const fetch = require('fetch-base64');","const { local } = require('fetch-base64');","const { remote } = require('fetch-base64');","const { auto } = require('fetch-base64');"]},{"cmd":"yarn add fetch-base64","imports":[]},{"cmd":"pnpm add fetch-base64","imports":[]}],"homepage":"https://github.com/gamell/fetch-base64#readme","github":"https://github.com/gamell/fetch-base64","docs":null,"changelog":null,"pypi":null,"npm":"fetch-base64","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}