UNPKG

walkdir

Version:

Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familiar callback/emitter/a+sync interface. Walk a tree of any depth.

17 lines (12 loc) 624 B
### v0.3.0 feat: added find_links option to toggle between stat and lstat. defaults to existing behavior. ### v0.2.0 added new option "filter". this allows you to filter a directory listing before statting anything. the goal being to enable efficient ignore file application. documented fs option. we've had an fs option for a while so folks could provide custom fs implementations but now its documented in the readme. ### v0.1.1 added missing emitter.end to typescript types and updayibng test to include custom emitter methods ### v0.1.0 added walkdir.async which returns a promise for waiting added typescript types