yonycalsin / next-base64

base64 decoder and encoder for nextjs πŸŽ‰

Home Page:https://www.npmjs.com/package/next-base64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

next-base64

next-base64 is a library for client-side and server-side base64 encoding and decoding

CI NPM Version Package License NPM Downloads

Installation

# Using npm
npm install --save next-base64@latest

# Using yarn
yarn add next-base64@latest

Usage

import nextBase64 from 'next-base64';

const base64Encoded = nextBase64.encode('Hello World');

const base64decoded = nextBase64.decode(base64Encoded);

// result
console.log(base64Encoded); // 'SGVsbG8gV29ybGQ='
console.log(base64decoded); // 'Hello World'

Stay in touch

Contributors

Thanks to the wonderful people who collaborate with me !

License

next-base64 under License.

About

base64 decoder and encoder for nextjs πŸŽ‰

https://www.npmjs.com/package/next-base64

License:MIT License


Languages

Language:TypeScript 100.0%