🚨 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

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
3
-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

File Count CLI

Usage

Simple count

Count all files in the given directory and its subdirectories.

npx file-count-cli -d fixtures

5 files found.

Print files

npx 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

npx 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