html-to-base64-image

1.0.1 • Public • Published

html-to-base64-image

Html to base64 Image

Install

npm i html-to-base64-image
# or
yarn add html-to-base64-image

Usage

const htmlToBase64Image = require('html-to-base64-image');

htmlToBase64Image('<button>Hello</button>').then((data) => {
	console.log(data);
});

/html-to-base64-image/

    Package Sidebar

    Install

    npm i html-to-base64-image

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • thangved02