@ilihub/encoding
v1.0.2
Published
A collection of TypeScript functions for encoding and decoding strings.
Downloads
1
Maintainers
Readme
@ilihub/encoding
A collection of TypeScript functions for encoding and decoding strings.
Installation
# if you're using pnpm
pnpm add @ilihub/encoding
# or, if you're using npm
npm install @ilihub/encoding
# or, if you're using yarn
yarn add @ilihub/encoding
Usage
import { StringToBase64 } from "@ilihub/encoding";
const string = "Hello World!";
const base64String = StringToBase64(string);
console.log(base64String); // SGVsbG8gV29ybGQh
Available Functions and Classes
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.