A lightweight, high-performance file size utility that converts bytes to human-readable strings. Zero dependencies. 100% test coverage.
The main features of avoidwork/filesize.js are: File System Utilities.
Open-source alternatives to avoidwork/filesize.js include: avianflu/ncp — Think cp -r, but pure node, and asynchronous. ncp can be used both as a CLI tool and programmatically. bevry/istextorbinary — Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions. bruce/node-temp — Temporary files, directories, and streams for Node.js. calvinmetcalf/copyfiles — copyfiles. facebook/watchman — Watchman is a filesystem change monitor and recursive directory watcher that operates as a background service to track… andyogo/node-sync-glob — Synchronize files and folders locally by glob patterns, watch option included.
Think cp -r, but pure node, and asynchronous. ncp can be used both as a CLI tool and programmatically.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
Synchronize files and folders locally by glob patterns, watch option included.