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.

[request] show number of files / directories

See original GitHub issue

hey @styfle

would be cool to also show number of files & directories created during npm i. this number is often in the 10k+ range, which is nuts. some filesystems are notoriously slow to create huge filesystem trees, as well as deleting them (ehm, Windows).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
David-Elsecommented, Dec 4, 2018

@styfle I am relatively new to JS, and have not used TS yet, so can’t really contribute at this point. If I get the opportunity to learn Typescript I would certainly like to contribute in the future. Great project!

1reaction
leeoniyacommented, Aug 31, 2018

Should the chart also show file count? How about directory count?

no, i think just the text would be ok.

Do both counts matter or is it the sum of both files and directories?

they’re typically closely correlated. in my experience the ratio is about 10:1 for huge packages (thousands of files, hundreds of directories). a sum of both would be ok. “filesystem objects”

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I get a count of files in a directory using ...
This will display an ncurses-based screen which you can navigate using cursor keys. At the bottom, initially you will see the total number...
Read more >
java - get number of files in a directory and its subdirectories
I want to get number of all files in a directory and its subdirectories. P.S. : hardly matters if it returns a sum...
Read more >
Get File Count - Backendless REST API Documentation
This operation returns the number of files and optionally directories located in the specified path. Additional options include: pattern filtering - counts ...
Read more >
Working with folders and files with REST
The following example shows how to rename a folder by using the MERGE method. First, obtain the folder's OData type with a GET...
Read more >
Files: list | Google Drive
If you don't want trashed files to appear in the list, use the trashed=false query parameter to filter trashed files from the results....
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