Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
npm i -g dujs
dujs .
╔═══════════════════════════════════════════════╤════════════╗
║ /home/chaksoft/tools/dujs │ 54.30 MiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/node_modules │ 54.09 MiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/.git │ 104 KiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/bin │ 8 KiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/lib │ 8 KiB. ║
╚═══════════════════════════════════════════════╧════════════╝
You can specify some options :
-d [depth=1]
: Search depthYou can specify the depth of the search for the du command.
dujs -d 2 .
will set the depth to 2.
Be aware that a big depth could make the command take a very long time.
-n
: Non human size displayTo avoid having a non-human size display (only displaying the number of kilobytes used), set the -n
flag.
-r
: Reverse sortingTo sort the directories by reversed order (lightest folders first), set the -r
flag.
dujs -r .
╔═══════════════════════════════════════════════╤════════════╗
║ /home/chaksoft/tools/dujs/bin │ 8 KiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/lib │ 8 KiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/.git │ 104 KiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs/node_modules │ 54.09 MiB. ║
╟───────────────────────────────────────────────┼────────────╢
║ /home/chaksoft/tools/dujs │ 54.34 MiB. ║
╚═══════════════════════════════════════════════╧════════════╝
-f
: Include all filesWrapping around the -a
flag of the du
command. Displays all the files that are scanned, respecting the depth property.
This software is licensed with the GPL-v3.0 license. See LICENSE file for further information.
FAQs
JS porting for DU command
The npm package dujs receives a total of 0 weekly downloads. As such, dujs popularity was classified as not popular.
We found that dujs 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.