next-base64
v1.1.0
Published
`next-base64` is a library for `client-side` and `server-side` base64 encoding and decoding
Downloads
11,264
Readme
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@latestUsage
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
- Github @yonycalsin
- Twitter @yonycalsin
Contributors
Thanks to the wonderful people who collaborate with me !
License
next-base64 under License.
