Home Reference Source Test

FS match

A NodeJS package for finding folders, files & apps by Regular expression based on Asynchronous iteration of ES 9.

NPM Dependency

NPM

Use in another module

Use in Command-line shell

Search files

# Search in current directory

fs-match -r full\.name\.pattern

# Search in a specific folder

fs-match root/path -r full\.name\.pattern

# Search first match in a specific folder

fs-match root/path -r full\.name\.pattern -c 1

Search apps

# Show in stdout

app-find chrome firefox

# Append to a file

app-find chrome firefox -f .npmrc

# Set up NPM configuration

app-find chrome firefox -c

Typical case

  1. Puppeteer browser