file-find

0.1.5 • Public • Published

NAME

file-find - Recursively chdir through directories and invokes a function once per file

SYNOPSIS

const { find } = require('file-find');
 
find((file) => {
  console.log('Found this file:', file);
}, './some-dir');

DESCRIPTION

Recursively changes directories starting at the provided directoy. Upon entering a directory the contents are listed and the callback provided to find is called once per file with the name of the file as the only argument.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i file-find

      Weekly Downloads

      14

      Version

      0.1.5

      License

      ISC

      Last publish

      Collaborators

      • dugword