1.0.1 • Published 4 months ago

@codinasion/string-to-base64 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@codinasion/string-to-base64

Converts a string to a base64 string.

NPM Version Downloads LICENSE

Installation

# if you're using pnpm
pnpm add @codinasion/string-to-base64

# or, if you're using npm
npm install @codinasion/string-to-base64

# or, if you're using yarn
yarn add @codinasion/string-to-base64

Usage

import { StringToBase64 } from "@codinasion/string-to-base64";

const string = "Hello World!";

const base64String = StringToBase64(string);
console.log(base64String); // SGVsbG8gV29ybGQh

Sponsors & Backers

Sponsors

1.0.1

4 months ago

1.0.0

4 months ago