link-to-base64
v1.0.5
Published
url to base64 converter
Downloads
26
Readme
link-to-base64
Installing
Package manager
Using npm:
$ npm install link-to-base64
google-map-js
Requests can be made by passing the relevant config to link-to-base64
.
Examples
URL using convert file into base64 or arraybuffer
const { urlToBase64 } = require('link-to-base64');
const url = 'https://www.google.com/search?q=images&oq=images&aqs=chrome..69i57j69i60.1297j0j1&sourceid=chrome&ie=UTF-8#imgrc=nwiTKnJXTwcwcM'
const data = await urlToBase64(url)
console.log(data);