fast-base64-length
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    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

    Install

    npm i fast-base64-length

    DownloadsWeekly Downloads

    3,508

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.08 kB

    Total Files

    4

    Last publish

    Collaborators

    • linusu