{"id":25944959,"url":"https://github.com/path-check/base32-url-js","last_synced_at":"2025-03-04T08:20:19.121Z","repository":{"id":74718416,"uuid":"369003669","full_name":"Path-Check/base32-url-js","owner":"Path-Check","description":"Very simple Base32 encoder without padding. ","archived":false,"fork":false,"pushed_at":"2021-06-11T21:27:04.000Z","size":411,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-12T14:59:45.436Z","etag":null,"topics":["base32","encoding"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Path-Check.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-19T21:18:17.000Z","updated_at":"2021-06-11T21:27:07.000Z","dependencies_parsed_at":"2023-12-08T17:30:50.767Z","dependency_job_id":null,"html_url":"https://github.com/Path-Check/base32-url-js","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fbase32-url-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fbase32-url-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fbase32-url-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fbase32-url-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Path-Check","download_url":"https://codeload.github.com/Path-Check/base32-url-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241810035,"owners_count":20023884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base32","encoding"],"created_at":"2025-03-04T08:20:18.217Z","updated_at":"2025-03-04T08:20:19.087Z","avatar_url":"https://github.com/Path-Check.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base32-url-js\n\nVery simple extension to hi-base32 to encode/decode using URL-safe characters. Same idea of Base64URL, thus Base32URL. \n\n## Installation\n\nUse this command to install:\n\n    npm install base32url\n\n## Usage\nYou could use like this:\n\nIf you use node.js, you should require the module first:\n```js\nconst Base32URL = require('base32url');\n```\n\nor import it\n```js\nimport * as Base32URL from 'base32url';\n```\n\nAnd then just call the functions when needed: \n\n```js\nBase32URL.encode('String to encode');\nBase32URL.decode([]]);\n```\n\n### Methods\n\n#### Base32URL.encode(input)\n\nEncode string or bytes to base32url, set asciiOnly to true for better performace if it is.\n\n##### *input: `String`, `Array`, `Uint8Array` or `ArrayBuffer`*\n\nInput string or bytes to encode.\n\n#### Base32URL.decode(base32Str)\n\nDecode Base32URL string and return a *`byte array`*\n\n##### *base32Str: `String`*\n\nBase32URL string to decode.\n\n#### Base32URL.decodeAsString(base32Str)\n\nDecode Base32URL string and return a *`string`*\n\n##### *base32Str: `String`*\n\nBase32URL string to decode.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpath-check%2Fbase32-url-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpath-check%2Fbase32-url-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpath-check%2Fbase32-url-js/lists"}