fs-match
TypeScript icon, indicating that this package has built-in type declarations

1.7.1 • Public • Published

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

app-find chrome firefox -c

Typical case

  1. Puppeteer browser
  2. Hexo migrator for Web

Package Sidebar

Install

npm i fs-match

Weekly Downloads

3

Version

1.7.1

License

LGPL-3.0

Unpacked Size

28.8 kB

Total Files

16

Last publish

Collaborators

  • tech_query