1.0.4 • Published 1 year ago

image-to-base64-converter v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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.

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago