FS Match

FS match

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

NPM Dependency CI & CD

NPM

Use in another module

  • Example
    1. find
    2. which
  • Document
    • Online: URL or npm docs
    • Offline: npm start

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 result to an ini-like file

app-find chrome firefox -f .npmrc

# Append result to ".env" file in working directory (since npm@9 & [email protected])

app-find chrome firefox -c

Typical case

  1. Puppeteer browser
  2. Hexo migrator for Web

Generated using TypeDoc