mazadat-file-size
v1.0.2
Published
calculate file size
Downloads
19
Readme
mazadat-file-size
calculate file size
Installation
npm install mazadat-file-size
Usage
import { getFileSize } from 'mazadat-file-size';
// ...
let outputType = 'gb' // 'mb','kb',''->return bytes
const result = await getFileSize(/path/to/the/image, outputType);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library