image-to-base64-converter

1.0.4 • Public • Published

Image to Base64 Converter

Import the ImageToBase64Converter component from the package and render it in your React app. When the user selects an image using the file input, the component will update its state with the base64 string of the selected image.

Installation

Use npm to install the package:

npm install image-to-base64-converter

Usage

Import the ImageToBase64Converter component from the package and render it in your React app. When the user selects an image using the file input, the component will update its state with the base64 string of the selected image.

Example usage:

import React from "react";
import ImageToBase64Converter from "image-to-base64-converter";

function App() {
  return (
    <div>
      <h1>Image to Base64 Converter</h1>
      <ImageToBase64Converter />
    </div>
  );
}

export default App;

License

This project is licensed under the terms of the MIT license.

Keywords

npm, react, image, base64, converter.

Readme

Keywords

none

Package Sidebar

Install

npm i image-to-base64-converter

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

2.19 kB

Total Files

3

Last publish

Collaborators

  • gourabghosh