News for hackers. Stuff that matters.
Re:Show HN: The NPM module under 400MB that exports a null by hjnilsson on Tuesday May 15, 2018 @05:41AM (#17072764)
Almost the entirety of the payload comes from the `material-design-icons` package. That is a staggering 373 MB on disk over 97815 files.
Re:Show HN: The NPM module under 400MB that exports a null by mgliwka on Tuesday May 15, 2018 @05:32AM (#17072731)
Possible improvement: Zip a file containing 400MB of null bytes and extract it into the module using an postinstall hook. Then use those nullbytes and only if they are all nullbytes return 'null'.
Re:Show HN: The NPM module under 400MB that exports a null by frou_dh on Tuesday May 15, 2018 @05:50AM (#17072805)
What's Show-worthy about making a mess with a novelty repo?
Re:Show HN: The NPM module under 400MB that exports a null by creo on Tuesday May 15, 2018 @05:40AM (#17072758)
Is it production ready?
Re:Show HN: The NPM module under 400MB that exports a null by mickael-kerjean on Tuesday May 15, 2018 @05:43AM (#17072773)
There's 100% test coverage