brianloveswords / base64url

For encoding and decoding base64url!
MIT License
225 stars 44 forks source link

use native base64url encoding when available #53

Closed panva closed 1 year ago

panva commented 3 years ago

This PR makes use of the recently landed base64url encoding option in Node.js when available on the encode method.

This one is benchmarked to be significantly faster than the replace approaches.