🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

do-you-even-lift

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

do-you-even-lift

Figure out an estimate of how heavy a particular npm package might be in various compression configurations

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
7
40%
Maintainers
5
Weekly downloads
 
Created
Source

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
}

Keywords

npm

FAQs

Package last updated on 24 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts