stat-size
v1.0.2
Published
Promise that returns the size of a file or directory.
Downloads
34
Maintainers
Readme
stat-size
Promise that returns the size of a file or directory.
Installation
npm install --save stat-size@^1.0.2yarn add stat-size@^1.0.2
(if configured properly)
npm install --save @jaid/stat-size@^1.0.2Example
import statSize from "stat-size"
const result = statSize("pikachu_8x8.png")Variable result will be:
129Development
Setting up:
git clone [email protected]:jaid/stat-size.git
cd stat-size
npm installTesting:
npm run test:devTesting in production environment:
npm run testLicense
MIT License
Copyright © 2020, Jaid <[email protected]> (https://github.com/jaid)
