@ilihub/string-to-base64
Encode a string to base64
Installation
pnpm add @ilihub/string-to-base64
npm install @ilihub/string-to-base64
yarn add @ilihub/string-to-base64
Usage
import { StringToBase64 } from "@ilihub/string-to-base64";
const string = "Hello World!";
const base64String = StringToBase64(string);
console.log(base64String);
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.