Socket
Socket
Sign inDemoInstall

link-to-base64

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

link-to-base64

url to base64 converter


Version published
Maintainers
1
Created
Source

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);

FAQs

Package last updated on 02 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc