
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
community-cordova-plugin-disk-space
Advanced tools
[](https://www.npmjs.com/package/community-cordova-plugin-disk-space) [](https://www.npmjs.com/
This plugin allows to get information about disk space in Android / iOS / Windows 10 platforms.
To use this plugin in a project, you have to do:
cordova plugin add community-cordova-plugin-disk-space
Add your platforms targeted:
cordova platform add android
cordova platform add ios
cordova platform add windows
1- You can get disk information by executing the info function:
DiskSpacePlugin.info(options, successCallback, errorCallback);
Where options is a javascript object:
location: 1 // To get information about external storage (For android only)
location: 2 // To get information about internal storage (For android only)
The result object is like that:
{
"app": 29887, // Space occupied by the current application
"total": 98717873000, // Total space of the device
"free": 76556280 // Free space of the device
}
FAQs
[](https://www.npmjs.com/package/community-cordova-plugin-disk-space) [](https://www.npmjs.com/
We found that community-cordova-plugin-disk-space demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.