question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Namespaced npm modules don't seem to be supported.

See original GitHub issue

Here’s the output for a project that I’m working on:

> cost-of-modules --less --no-install

Calculating...


┌──────────────┬───────────────┬──────────┐
│ name         │ children      │ size     │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 2458          │ 1347.22M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 873           │ 1334.27M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 274           │ 1326.62M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 90            │ 1324.39M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 158           │ 1314.70M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 7             │ 1314.66M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 11            │ 1314.62M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 10            │ 1314.62M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 15            │ 1314.62M │
├──────────────┼───────────────┼──────────┤
│ @uber        │ 12            │ 1314.62M │
├──────────────┼───────────────┼──────────┤
│ + 39 modules │               │          │
├──────────────┼───────────────┼──────────┤
│ 49 modules   │ 1032 children │ 1400.34M │
└──────────────┴───────────────┴──────────┘

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mattbastacommented, Oct 31, 2016

A module namespaced as @foo/bar would end up as node_modules/@foo/bar.

0reactions
siddharthkpcommented, Nov 1, 2016

@mattbasta Awesome! Thanks for your help 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

NPM Namespaces or Sub Projects · Issue #798 - GitHub
This is going to happen quickly, as programmers use the obvious names to describe their projects. (i.e. parser, cms, mail, email, store, etc.)...
Read more >
namespace-include - npm
The code I write for a module is not portable (enough), it's specific to Node.js or to my browser without additional build system...
Read more >
Use of @ symbol in Node module names - Stack Overflow
Scoped packages in npm are preceded by an '@' symbol. A scope allows you to create a package with the same name as...
Read more >
npm - Understanding Scoped Packages - Nitay Neeman's Blog
This article explains what scopes are in regard to npm packages - focusing on how to create, publish and install them.
Read more >
npm packages in the Package Registry - GitLab Docs
The GitLab npm repository supports the following commands for the npm CLI ( npm ) and yarn CLI ( yarn ):. npm install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found