do-you-even-lift
Figure out an estimate of how heavy a particular npm package might be in various compression configurations
Last updated a year ago by zkat .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install do-you-even-lift 
SYNC missed versions from official npm registry.

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
}

Current Tags

  • 1.1.0                                ...           latest (a year ago)

2 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 0
Dependencies (9)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |