Socket
Socket
Sign inDemoInstall

mazadat-file-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

mazadat-file-size

calculate file size


Version published
Weekly downloads
10
decreased by-52.38%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 04 Jan 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc