Wondering what’s next for npm?Check out our public roadmap! »

    do-you-even-lift

    1.1.1 • Public • Published

    do-you-even-lift npm version license Travis AppVeyor Coverage Status

    do-you-even-lift is a Node.js library for calculating how big a specific package might be once bundled and compressed. It's built on top of pacote and so will accept any valid package specifier for extraction.

    Install

    $ npm install do-you-even-lift

    Example

    const liftMeBro = require('do-you-even-lift')
     
    liftMeBro('react').then(console.log)
    // =>
    {
      unpackedSize: 119169,
      bundleSize: 55615,
      minifiedBundleSize: 19747,
      gzippedBundleSize: 15783,
      gzippedMinifiedBundleSize: 7090,
      bundleTime: 1242
    }

    Install

    npm i do-you-even-lift

    DownloadsWeekly Downloads

    31

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    7.07 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar