How to use the @sindresorhus/df.fs function in @sindresorhus/df

To help you get started, we’ve selected a few @sindresorhus/df examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github goto-bus-stop / statusbar / packages / diskusage / index.js View on Github external
run (b, options) {
    df.fs(options.fs).then((fs) => {
      b.update(`${options.label || fs.mountpoint} ${bytes(fs.available)}`)


Get free disk space info from `df -kP`

Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis

Popular @sindresorhus/df functions