totalist
npmv3.0.1TypeScriptA tiny (195B to 220B) utility to recursively list all (total) files in a directory
Not recommended for new projects
No — totalist should not be adopted for new projects. Last published 1255 days ago.
- AAdoption: grade A, Excellent.
30M downloads per week and 1 known dependents.
- FMaintenance: grade F, Failing.
Last published 1255 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 7.3 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding totalist to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >=6
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the totalist README.
// import via npm module
import { totalist } from 'totalist';
import { totalist } from 'totalist/sync';totalist vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| totalistthis page | 30M | 1 | MIT | 3 years ago |
| anymatch | 0 | 1 | ISC | 16 hours ago |
| fdir | 0 | 3 | MIT | 15 hours ago |
| locate-path | 217.6M | 1 | MIT | 16 hours ago |
| is-glob | 137.4M | 3 | MIT | 16 hours ago |
| fast-glob | 135.1M | 8 | MIT | 14 hours ago |
Dependencies
Declared by totalist v3.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (3)
Used by
Popular packages that depend on totalist.
Relationship graph
Dependencies (left) and dependents (right) of totalist.
Frequently installed together
Release history
No releases in the last two years, typically about 241 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.1latest | 3 years ago | 7.3 KB | MIT |
| 3.0.0 | 4 years ago | 7.2 KB | MIT |
| 2.0.0 | 6 years ago | 7.0 KB | MIT |
| 1.1.0 | 6 years ago | 7.3 KB | MIT |
| 1.0.1 | 6 years ago | 7.0 KB | MIT |
| 1.0.0 | 6 years ago | 6.9 KB | MIT |
| 0.0.0 | 6 years ago | 6.6 KB | MIT |
Overview
totalist is an npm package that a tiny (195B to 220B) utility to recursively list all (total) files in a directory. It is extremely widely used, with about 30M downloads per week and 1 known dependents in the graph. The latest version is 3.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a tiny (195B to 220B) utility to recursively list all (total) files in a directory and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (30M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use totalist?
No — totalist should not be adopted for new projects. Last published 1255 days ago.
How do I install totalist?
Run `npm install totalist` to add totalist to your npm project.
What license is totalist released under?
totalist is distributed under the MIT license.
How popular is totalist?
totalist has approximately 29,974,484 downloads per week and 1 known dependent packages.
Is totalist still maintained?
The most recent release of totalist (v3.0.1) was published 3 years ago.
Does totalist run install scripts?
No. totalist does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.