FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TechQuery/fs-match: A NodeJS package for finding folders, files & apps by Regular expression based on Asynchronous iteration of ES 9 · GitHub

Repository files navigation

FS match

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

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 & fs-match@1.7)

app-find chrome firefox -c

Typical case

  1. Puppeteer browser
  2. Hexo migrator for Web

About

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

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL