Fast Base64 Length
Get the byte length of a Base64 encoded string.
Installation
npm install --save fast-base64-length
Usage
const base64Length = require('fast-base64-length')
// Pass the string to measure
console.log(base64Length('SGVsbG8sIFdvcmxkIQ=='))
//=> 13