📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

app-size

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-size

Get an .app's size in byte

2.0.0
Source
npm
Version published
Weekly downloads
9
200%
Maintainers
1
Weekly downloads
 
Created
Source

app-size Build Status

Get an .app's size in byte

Install

$ npm install --save app-size

Usage

var 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

  Examples
    $ app-size Safari
    $ app-size /Applications/Safari.app
    $ app-size com.apple.Safari

License

MIT © Andreas Gillström

Keywords

app

FAQs

Package last updated on 04 Oct 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