1.0.4 • Published 10 months ago

imgurl-to-base64 v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

imgurl-to-base64

A simple wrapper that converts images urls to base64 image strings

Installation

Use the package manager npm.

npm install imgurl-to-base64

Usage

import imgUrlToBase64 from 'imgurl-to-base64'

const url = 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png'

const test = async () => {
  console.log(await imgUrlToBase64(url))
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago