🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

file-count-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-count-cli

Count and print files by extention

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

File Count CLI

Tiny utility to execute remotely to count the number of files following a pattern in some near folder.

Usage

Simple count

pnpm dlx file-count-cli -d fixtures

5 files found.

Print files

pnpm dlx file-count-cli -d fixtures -p

5 files found.
fixtures/apple.js
fixtures/berries/blueberry.ts
fixtures/berries/raspberry.html
fixtures/berries/strawberry.js
fixtures/orange.js

Include only files matching a pattern

pnpm dlx file-count-cli -d ./fixtures -i "berries.*\.js|ts" -p

2 files found.
fixtures/berries/blueberry.ts
fixtures/berries/strawberry.js

Keywords

file-count

FAQs

Package last updated on 26 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts