npm/do-you-even-lift

Name: do-you-even-lift

Owner: npm

Description: Calculate package sizes in various configurations

Created: 2018-04-26 22:52:02.0

Updated: 2018-05-05 02:29:03.0

Pushed: 2018-04-30 21:11:36.0

Homepage: null

Size: 95

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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
t liftMeBro = require('do-you-even-lift')

MeBro('react').then(console.log)
>

packedSize: 119169,
ndleSize: 55615,
nifiedBundleSize: 19747,
ippedBundleSize: 15783,
ippedMinifiedBundleSize: 7090,
ndleTime: 1242


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.