pnpm add *

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

Install

tokf install 3110e174206477f779b1a1d72de63333eaf49c1960b8470eb6c446f60edf058e
Safety checks passed

Filter definition

command = "pnpm add *"
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