pnpm add *

built-in
0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install 8a8f30fcf87b6b9ff2699e1d809e66fce52d50a6c10bfdc816e3e0e5893e4a67
Safety checks passed

Filter definition

command = "pnpm add *"
description = "Strip download progress; show added packages"
skip = [
  "^\\s*Progress:",
  "^\\s*Downloading",
  "^\\s*Already up to date",
]

[on_success]
output = "{output}"

[on_failure]
tail = 10

Examples

package not found shows error ~20 tokens → ~20 tokens
Raw output
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for nonexistent-pkg@latest
Filtered output
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for nonexistent-pkg@latest
pnpm add strips progress and shows result ~29 tokens → ~15 tokens (48% saved)
Raw output
 Progress: resolved 42, reused 42, downloaded 0, added 1
Packages: +1
+
dependencies:
+ lodash 4.17.21

Done in 892ms
Filtered output
Packages: +1
+
dependencies:
+ lodash 4.17.21

Done in 892ms
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters