🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

simple-base64

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-base64

simple base64 encode/decode for nodeJS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

simple-base64 npm

Simple base64 encode/decode for JavaScript

Installation

npm install simple-base64

Usage (with CommonJS)

const base64 = require('simple-base64');

const encodedKorean = base64.encode('안녕하세요'); // -> 7JWI64WV7ZWY7IS47JqU
base64.decode(encodedKorean); // -> 안녕하세요

const encoded = base64.encode('Hello World'); // -> SGVsbG8gV29ybGQ=
base64.decode(encoded); // -> Hello World

Keywords

node

FAQs

Package last updated on 01 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts