next-base64

base64 decoder and encoder for nextjs 🎉

MIT License

Downloads
6.4K
Stars
8
Committers
1

next-base64

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

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'

License

next-base64 under License.

Package Rankings
Top 9.37% on Npmjs.org
Badges
Extracted from project README
CI
Related Projects