</>PackageGraphPackageGraph

totalist

npmv3.0.1TypeScript

A 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

7.3 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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.

PackageWeekly downloadsDependentsLicenseLast release
totalistthis page30M1MIT3 years ago
anymatch01ISC16 hours ago
fdir03MIT15 hours ago
locate-path217.6M1MIT16 hours ago
is-glob137.4M3MIT16 hours ago
fast-glob135.1M8MIT14 hours ago

Dependencies

Declared by totalist v3.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (3)

bundt 1.1.1esm 3.2.25uvu 0.3.3

Used by

Popular packages that depend on totalist.

Relationship graph

Dependencies (left) and dependents (right) of totalist.

sirvtotalist
totalist dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 241 days apart.

Recent versions of totalist
VersionPublishedSizeLicense
3.0.1latest3 years ago7.3 KBMIT
3.0.04 years ago7.2 KBMIT
2.0.06 years ago7.0 KBMIT
1.1.06 years ago7.3 KBMIT
1.0.16 years ago7.0 KBMIT
1.0.06 years ago6.9 KBMIT
0.0.06 years ago6.6 KBMIT

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

Keywords

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.