fast-base64-length
v1.0.0
Published
Get the byte length of a Base64 encoded string.
Downloads
20,104
Readme
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