New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

safe-base64

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

safe-base64

URL Safe Base64 encoding

latest
Source
npmnpm
Version
2.0.1-0
Version published
Weekly downloads
1.4K
12.19%
Maintainers
1
Weekly downloads
 
Created
Source

safe-base64

base64url - URL-safe base64 for node.js Buffer

Fork of urlsafe-base64

Usage

import { encode, decode } from "safe-base64"

encode(buffer)

Encodes a buffer to a URL-safe base64 string (RFC 4648). The padding is removed.

decode(input)

Decodes a string to a buffer.

Why

  • No out-of-scope methods
  • No confusing extra input parameters
  • Written in TypeScript

Keywords

base64

FAQs

Package last updated on 01 Feb 2020

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