Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

tmi

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmi

Discover your image weight on the web

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
99
-42.44%
Maintainers
2
Weekly downloads
 
Created
Source

tmi - too many images Build Status

Discover your image weight on the web

Find out the image weight in your pages, compare to the BigQuery quantiles and discover what images you can optimize further.

Install

$ npm install --global tmi

Usage

$ tmi --help

  Usage
    tmi <url> [options]

  Example
    tmi todomvc.com --strategy=desktop

  Options
    --verbose      Detailed summary.
    --key          Google API Key. By default the free tier is used.
    --strategy     Strategy to use when analyzing the page: mobile|desktop
    --locale       Locale results should be generated in.
    --threshold    Threshold score to pass the PageSpeed test.

Verbose mode

Verbose mode will show you a detailed summary of which images needs improving.

Good test URLs

Local testing

We plan on adding support for testing localhost and local files in the very near future. Until then, ngrok should be able to help get you mostly there.

API

See psi if you need a programmatic API for PageSpeed Insights.

License

Apache-2.0
Copyright 2015 Google Inc

Keywords

cli-app

FAQs

Package last updated on 24 Feb 2015

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