
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@digitalcredentials/base64url-universal
Advanced tools
Encode/decode "Base64url Encoding" format of JSON Web Signature (JWS) RFC7517.
base64url Library (@digitalcredentials/base64url-universal)A Javascript isomorphic library for
base64urltext encoding, for Node.js, React Native and browsers
Encode/Decode input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.
TBD
To install via NPM:
npm install @digitalcredentials/base64url-universal
To install locally (for development):
git clone https://github.com/digitalcredentials/base64url-universal.git
cd base64url-universal
npm install
string ⏏Uint8Array ⏏string ⏏Encodes input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.
Kind: Exported function
Returns: string - the encoded value.
| Param | Type | Description |
|---|---|---|
| input | Uint8Array | string | the data to encode. |
Uint8Array ⏏Decodes input according to the "Base64url Encoding" format as specified in JSON Web Signature (JWS) RFC7517. A URL safe character set is used and trailing '=', line breaks, whitespace, and other characters are omitted.
Kind: Exported function
Returns: Uint8Array - the decoded value.
| Param | Type | Description |
|---|---|---|
| input | string | the data to decode. |
PRs accepted.
If editing the Readme, please conform to the standard-readme specification.
MIT License © 2023 Digital Credentials Consortium.
FAQs
Encode/decode "Base64url Encoding" format of JSON Web Signature (JWS) RFC7517.
The npm package @digitalcredentials/base64url-universal receives a total of 3,538 weekly downloads. As such, @digitalcredentials/base64url-universal popularity was classified as popular.
We found that @digitalcredentials/base64url-universal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies