New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

based-32

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
Package was removed
Sorry, it seems this package was removed from the registry

based-32

High-performance Base32 encoding utility with extended security features

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

based-32

A high-performance Base32 encoding/decoding library implementing RFC 4648 standard.

Installation

```bash npm install based-32 ```

Usage

CLI

```bash

Encode a string

based32 "hello world"

Pipe input

echo "secret message" | based32

Secure mode (with additional validation)

based32 -s "sensitive data" ```

API

```typescript import { encode, decode, handleSecureEncode } from 'based-32'; // Standard encoding const encoded = encode('hello world'); // Decoding const decoded = decode('JBSWY3DPEBLW64TMMQ======'); // Secure encoding (validates input before encoding) const secure = handleSecureEncode('sensitive data'); ```

Features

  • RFC 4648 compliant Base32 encoding
  • Full UTF-8 support
  • Streaming/pipe compatible CLI
  • TypeScript definitions included
  • Zero dependencies (production)

License

MIT

Keywords

base32

FAQs

Package last updated on 19 Jun 2026

Related posts