News for hackers. Stuff that matters.
Re:Changes to Npm's unpublish policy by mdavidn on Wednesday March 30, 2016 @12:38AM (#11387008)
A note on your edit: The difference you observed is not because of du. Your node_modules really does take 673 MB on disk.

File systems divide the disk into segments, confusingly also called blocks. Only one file may occupy a block. On my Mac, the block size is 4 KB, so a file containing a single byte will still occupy 4 KB on disk. The du utility reports the latter. The Mac Finder reports the former in column view and both in the "Get Info" pane.

Unpacked NPM modules have many, many small files, obviously.

Re:Changes to Npm's unpublish policy by tlrobinson on Wednesday March 30, 2016 @01:47AM (#11387208)
Ah, interesting, thanks.