# app-size

> Get an .app's size in byte

Latest version **3.0.1** (published 2016-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install app-size
pnpm add app-size
yarn add app-size
bun add app-size
```

Provides the command `app-size`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2016-04-24 |
| First published | 2015-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andreas Gillström |
| Maintainers | gillstrom |
| Keywords | app, application, cli, cli-js, mac, osx, size |

## Links

- npm: https://www.npmjs.com/package/app-size
- Repository: https://github.com/gillstrom/app-size
- Homepage: https://github.com/gillstrom/app-size#readme
- Issues: https://github.com/gillstrom/app-size/issues
- npm.io page: https://npm.io/package/app-size

## Dependencies (5)

- [meow](https://npm.io/package/meow.md) ^3.3.0
- [pify](https://npm.io/package/pify.md) ^2.3.0
- [execa](https://npm.io/package/execa.md) ^0.3.0
- [app-path](https://npm.io/package/app-path.md) ^2.1.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^3.0.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 3.0.1 (latest) — 2016-04-24
- 3.0.0 — 2016-04-24
- 2.0.0 — 2015-10-04
- 1.1.1 — 2015-07-30
- 1.1.0 — 2015-05-23
- 1.0.0 — 2015-05-23

## README

# app-size [![Build Status](https://travis-ci.org/gillstrom/app-size.svg?branch=master)](https://travis-ci.org/gillstrom/app-size)

> Get an .app's size in byte


## Install

```
$ npm install --save app-size
```


## Usage

```js
const appSize = require('app-size');

appSize('Safari').then(size => {
	console.log(size);
	//=> 34058118
});

appSize('/Applications/Safari.app').then(size => {
	console.log(size);
	//=> 34058118
});

appSize('com.apple.Safari').then(size => {
	console.log(size);
	//=> 34058118
});
```


## CLI

```
$ npm install --global app-size
```

```
$ app-size --help

  Example
    $ app-size Safari
    $ app-size /Applications/Safari.app
    $ app-size com.apple.Safari
```


## License

MIT © [Andreas Gillström](https://github.com/gillstrom)

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