Johnnei's World
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
testeronious@lemmy.world to Programming@programming.devEnglish ·
edit-2
1 year ago

When "Everything" Becomes Too Much: The npm Package Chaos of 2024

socket.dev

external-link
message-square
42
link
fedilink
127
external-link

When "Everything" Becomes Too Much: The npm Package Chaos of 2024

socket.dev

testeronious@lemmy.world to Programming@programming.devEnglish ·
edit-2
1 year ago
message-square
42
link
fedilink
When "Everything" Becomes Too Much: The npm Package Chaos of 2024 - Socket
socket.dev
external-link
An NPM user named PatrickJS launched a troll campaign with a package called "everything," which depends on all public npm packages.
  • lastunusedusername2@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    What I want to know is how big would me node_modules be if I’d managed to install this?

    • polite_cat@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      1 year ago

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Fastest answer I could find was from 2021: 285GB.

      https://stackoverflow.com/questions/65995150/is-it-possible-to-find-out-the-total-size-of-all-existing-npm-modules-in-the-npm

      So make sure you have over half a terrabyte of free storage before you try this. These libraries can do things on install, like download and compile binaries. Then there’s overhead for inodes and such, since we’re talking about millions of files. So the impact to the filesystem is going to be much, much bigger than any figure cited like the above.

      • lastunusedusername2@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Amazing, thank you!

    • wischi@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      yes

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 44 users / day
  • 844 users / week
  • 2.88K users / month
  • 7.25K users / 6 months
  • 1 local subscriber
  • 20.9K subscribers
  • 2.22K Posts
  • 33.8K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org