Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zignis/unpad-base64
Removes padding from a base64 string
https://github.com/zignis/unpad-base64
base64
Last synced: 27 days ago
JSON representation
Removes padding from a base64 string
- Host: GitHub
- URL: https://github.com/zignis/unpad-base64
- Owner: zignis
- License: mit
- Created: 2023-08-11T04:13:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-20T08:48:56.000Z (about 1 year ago)
- Last Synced: 2024-10-06T10:39:20.722Z (about 1 month ago)
- Topics: base64
- Language: JavaScript
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unpad-base64
![npm](https://img.shields.io/npm/v/unpad-base64?style=for-the-badge)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/zignis/unpad-base64/test.yml?style=for-the-badge)
![npm](https://img.shields.io/npm/dw/unpad-base64?style=for-the-badge)
![NPM](https://img.shields.io/npm/l/unpad-base64?style=for-the-badge)Removes padding from a base64 string
## Test coverage
| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-100%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-0%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-100%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-100%25-brightgreen.svg?style=flat) |## Usage
```typescript
import { unpadBase64 } from 'unpad-base64';const unpadded = unpadBase64(paddedBase64);
```