0.0.3 • Published 1 month ago

@kumardeo/file-size v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@kumardeo/file-size

An utility for calculating file or directory size.

Installation

Install it by running the following command:

npm install @kumardeo/file-size

CLI

npx @kumardeo/file-size build --gzip --include ".(js|ts)$"

API

import { fileSizeSync } from "@kumardeo/file-size";

const result = fileSizeSync(new URL("./build", import.meta.url), {
  include: [/\.(js|ts)$/]
});

console.log(result);
0.0.1

1 month ago

0.0.3

1 month ago

0.0.2

1 month ago

0.0.0

1 month ago