Skip to content

pigeonposse/sizium

Sizium

Web About Us Donate Twitter Instagram Medium

BANNER

License Version

Get the actual size of any local or remote package

Table of contents

What is sizium?

sizium is a opensource tool to get the actual size of any local or remote package.

Library usage:

import {Sizium} from 'sizium'

// Get size from remote
const pkg = new Sizium('chalk@5.4.1')
const data = await pkg.get()

console.log(data.size) // size in bytes
import {Sizium} from 'sizium'

// Get size from local
const pkg = new Sizium('./package.json')
const data = await pkg.get()

console.log(data.size) // size in bytes

CLI usage:

sizium -i chalk

πŸ”‘ Installation

npm install @sizium/core
# or
pnpm install @sizium/core
# or
yarn add @sizium/core
# or
bun add @sizium/core
# or
deno add @sizium/core

βž• More


πŸ‘¨β€πŸ’» Development

Sizium is an open-source project and its development is open to anyone who wants to participate.

Issues Pull requests Read more

❀️ Donate

Help us to develop more interesting things.

Donate

πŸ“œ License

This software is licensed with GPL-3.0.

Read more

✨ About us

PigeonPosse is a code development collective focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

More


Web About Us Donate Twitter Instagram Medium