Skip to content

yonycalsin/next-base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.