you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 7 months ago (5 children)
  • [–] 5 points 7 months ago* (4 children)

    Heard, not used though. Jokes about isEven(tm) too, but I never thought it goes like this in anything intended for external use

  • source
  • parent
  • hideshow 4 child comments
  • [–] 11 points 7 months ago* (1 child)

    there's at least one guy i know of on github whose claim to fame is he finds code in existing node codebases by big corpos that's duplicated, breaks it out into a library, then PRs the original codebase with "instead of doing manually, switch to depending on this library", then adds to his profile "my code is used by ". he had thousands of libraries like that last i checked, most of them less than ten lines of code. the manifest and other boilerplate is way larger than the actual code.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 7 months ago (1 child)

    Your node_modules directory can get so bloated that the community came up with different package managers just for deduplication! pnpm, for example, makes one global-adjacent cache, and then just symlinks the dependencies as needed. This is because the regular npm doesn't, because what if the package changed between the 20ms since I downloaded it for nuxt? (Sorry Nuxt users, had to pick a name)

  • source
  • parent
  • hideshow 1 child comment