@ts-utilkit/encoding
v0.2.0
Published
Encoding and decoding utilities for Base64 and other encoding schemes
Maintainers
Readme
@ts-utilkit/encoding
encoding Functions - TypeScript utility functions for encoding operations.
Installation
npm install @ts-utilkit/encodingFeatures
- 🚀 TypeScript-first with complete type definitions
- ✅ Comprehensive test coverage (>95%)
- 📦 Tree-shakeable ESM and CommonJS support
- 🔒 Type-safe with strict TypeScript configuration
- 📖 Extensive JSDoc documentation
Available Functions (2)
encodeBase64- Encodes a string to Base64decodeBase64- Decodes a Base64 string
Quick Example
import { encodeBase64, decodeBase64 } from '@ts-utilkit/encoding';
encodeBase64('Hello, World!'); // "SGVsbG8sIFdvcmxkIQ=="
decodeBase64('SGVsbG8sIFdvcmxkIQ=='); // "Hello, World!"License
MIT © Mykyta Forofontov
