z-base-32 encoder & decoder

Overview

z32

z-base-32 encoder & decoder

npm install z32

Usage

const z32 = require('z32')

const s = z32.encode('Hello, World!')

console.log(s) // jb1sa5dxfoofq551pt1nn

const b = z32.decode(s)

console.log(b) // Buffer('Hello, World!')

API

const s = z32.encode(stringOrBuffer)

Encode a string or buffer to z-base-32.

const buf = z32.decode(s)

Returns a decoded buffer. Throws if the string is invalid.

License

MIT

You might also like...

Hiroshi. A wabot-aq base MD Baileys

Hiroshi. A wabot-aq base MD Baileys

Hiroshi Haruno md version. Baileys-MD (multi-device) is still a beta version. there'll so many bug on it. Termux apt install ffmpeg apt install imagem

Jul 23, 2022

Ox "base" template server

OX Base Template Server This repo is an updated version of Judd's ox_base_template_server, as he discontinued his repo I will still be contributing to

Feb 6, 2022

Este projeto é um boilerplate completo, constantemente atualizado, configurado nos mínimos detalhes para servir de base para projetos profissionais do mais alto nível.

Boilerplate Completo e atualizado com Next.js, Typescript Styled-Components, Testes, Redux Toolkit e PWA 📝 Sobre o Projeto Este projeto é um boilerpl

Aug 21, 2022

Base Rails app that includes login, social login, homepage, and basic model for serving as a scaffold app.

Base Rails app that includes login, social login, homepage, and basic model for serving as a scaffold app.

Rails7Base I created the Rails7Base as a scaffold application. Countless times, I had to create apps that must have the following features: Login syst

Jul 2, 2022

A discord.js v14 bot base

A simple Discord.js version 14 base. It contains a slash command handler, event handler, and an example for the new modals.

Mar 17, 2022

Workflow to re-trigger workflow of all open PRs when base updates

Workflow to re-trigger workflow of all open PRs when base updates

Aug 28, 2022

Projeto de Final de Módulo da Resilia, curso de Web Dev Full Stack, utilizando como base Node.js e Javascript.

🚚 API Transportadora Projeto de encerramento do módulo 4 da Resilia Educação. O objetivo é desenvolver uma API Rest de uma transportadora. 📮 Pré-req

Mar 26, 2022

New base script bot wa by Ramdani Official, don't forget to subscribe youtube Ramdani Official.

New base script bot wa by Ramdani Official, don't forget to subscribe youtube Ramdani Official.

Requirements • Installation • Thanks to • Official Group Bot • Donate Information bahasa Indonesia Ramdani Botz V17 adalah bot yang di ciptakan oleh R

Nov 1, 2022

A base for developing Discord.js bots, written in TypeScript.

A base for developing Discord.js bots, written in TypeScript.

Nyx is a Discord bot template written in Typescript, supporting most of Discord.js' features alongside tools useful for bot development. 🇪🇸 README e

Dec 15, 2022
Comments
  • Small tweaks

    Small tweaks

    • Don't split ALPHABET, just index into the string.
    • Use unsigned shifts rather than sign propagating shifts.
    • Use buf.byteLength rather than buf.length.
    opened by kasperisager 1
Owner
Mathias Buus
Rød grød med fløde
Mathias Buus
base64 decoder and encoder for nextjs 🎉

next-base64 next-base64 is a library for client-side and server-side base64 encoding and decoding Installation # Using npm npm install --save next-bas

Yony Calsin 5 Sep 11, 2022
Web stream based jsonlines decoder/encoder

jsonlines-web Web stream based jsonlines decoder/encoder ✅ Deno ✅ browser ✅ Node.js This library supports JSON in the following formats: Line-delimite

ayame113 4 Nov 16, 2022
solana-base-app is a base level, including most of the common features and wallet connectivity, try using `npx solana-base-app react my-app`

solana-base-app solana-base-app is for Solana beginners to get them up and running fast. To start run : run npx solana-base-app react my-app change th

UjjwalGupta49 33 Dec 27, 2022
Deta Base UI - A place with more functionality for managing your Deta Base(s).

Deta Base UI - A place with more functionality for managing your Deta Base(s). ✨ Features: Total rows count Quick multi select (click and shift) Searc

Harman Sandhu 13 Dec 29, 2022
TypeScript dotbim parser and encoder.

dotbim-ts Open-source TypeScript parser and encoder for dotbim file format. dotbim's website: https://dotbim.net/ Here you can find small manual for d

Baid 5 Aug 2, 2022
🔆🔎👀 Smart Contract Storage Viewer, DataType Guesser, Toolbox & Transaction Decoder

?? ?? ?? Smart Contract Storage HexViewer Demo Target - the target contract API Endpoint - your infura (or equivalent) api key Retrieves smart contrac

tintin 85 Nov 27, 2022
Eleventy base project

Project base for Eleventy Sites Includes static page template, blog post template, post feed, pagination, tags and RSS. Also includes gulp setup for S

Andy Bell 70 Dec 21, 2022
The code base for the tutorial on how to use the TypingDNA Verify API

TypingDNA-Verify-API-Tutorial The code base for the tutorial on how to use the TypingDNA Verify API Resources TypingDNA Website TypingDNA Verify Docs

Tim Ruscica 21 Oct 6, 2022
Base-mock-api - Repo to storage my fake api's to use in my 2022 projects.

Base Mock API's Project made 100% with JavaScript, with the objective of creating endpoints to use in projects. Prerequisites Before you begin, ensure

Arthur Cabral 0 Nov 20, 2022
JavaScript API based capstone project using TVmaze API for displaying and interacting with items from the data base.

Yuriy Chamkoriyski & Bonke Gcobo Javascript capstone project API-based webapp from Module 2 at Microverse Wireframe requirements The Home Page low fid

Yuriy Chamkoriyski 5 May 30, 2022