# @29ways/fewt

> Front-end weight tracker

Latest version **0.0.9** (published 2019-05-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @29ways/fewt
pnpm add @29ways/fewt
yarn add @29ways/fewt
bun add @29ways/fewt
```

Provides the command `fewt`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2019-05-20 |
| First published | 2019-05-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 11 |
| Unpacked size | 13.5 KB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Adam Phillips @adamphillips |
| Maintainers | adamphillips |
| Keywords | web, front-end, performance |

## Links

- npm: https://www.npmjs.com/package/@29ways/fewt
- Repository: https://github.com/29ways/fewt
- Issues: https://github.com/29ways/fewt/issues
- npm.io page: https://npm.io/package/@29ways/fewt

## Dependencies (11)

- [tmp](https://npm.io/package/tmp.md) ^0.1.0
- [listr](https://npm.io/package/listr.md) ^0.14.3
- [tslib](https://npm.io/package/tslib.md) ^1
- [cli-ux](https://npm.io/package/cli-ux.md) ^5.2.1
- [puppeteer](https://npm.io/package/puppeteer.md) ^1.15.0
- [lighthouse](https://npm.io/package/lighthouse.md) ^5.0.0
- [object-hash](https://npm.io/package/object-hash.md) ^1.3.1
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1
- [chrome-launcher](https://npm.io/package/chrome-launcher.md) ^0.10.7
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^2

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.9 (latest) — 2019-05-20
- 0.0.8 — 2019-05-17
- 0.0.7 — 2019-05-17
- 0.0.6 — 2019-05-17
- 0.0.5 — 2019-05-17
- 0.0.4 — 2019-05-17
- 0.0.3 — 2019-05-17
- 0.0.2 — 2019-05-13
- 0.0.1 — 2019-05-13

## README

# fewt

[![Version](https://img.shields.io/npm/v/fewt.svg)](https://npmjs.org/package/@29ways/fewt)
[![Downloads/week](https://img.shields.io/npm/dw/fewt.svg)](https://npmjs.org/package/@29ways/fewt)
[![License](https://img.shields.io/npm/l/fewt.svg)](https://github.com/29ways/fewt/blob/master/package.json)

A simple command that uses puppeteer to request a URL and calculates the total volume of resources downloaded as a result.

The results are grouped by resource type. By default values are returned in KB.

## Example

`fewt -u https://google.com`

```
Url                Html  Num html Css    Num css Js     Num js Img     Num img Fonts  Num fonts All     Num all
https://google.com 66.84 5        0.00   0       285.24 4      49.36   5       0.00   0         401.44  14
```

You can request multiple URLs at the same time

`fewt -u https://google.com https://github.com`

```
Url                Html  Num html Css    Num css Js     Num js Img     Num img Fonts  Num fonts All     Num all
https://google.com 66.84 5        0.00   0       285.24 4      49.36   5       0.00   0         401.44  14
https://github.com 24.60 1        104.24 3       167.58 2      3331.59 40      314.28 2         3942.79 49
```

## Options

Option | Details
-------|--------
-u     | Required. Use this to specify the URLs to test
-b     | Report in bytes rather than KB.
--csv  | Output results in CSV format. This avoids truncation of long URLs and makes for easy pasting into a spreadsheet.

Built using [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)

---
_Source: https://npm.io/package/@29ways/fewt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
