@ilihub/string-to-base64
v1.0.2
Published
Encode a string to base64
Downloads
5
Maintainers
Readme
@ilihub/string-to-base64
Encode a string to base64
Installation
# if you're using pnpm
pnpm add @ilihub/string-to-base64
# or, if you're using npm
npm install @ilihub/string-to-base64
# or, if you're using yarn
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); // SGVsbG8gV29ybGQh
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Sponsors & Backers
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.