@gmjs/fs-observable
v0.0.1
Published
File system utilities employing observable pattern.
Downloads
1
Readme
File System Utilities Using Observable Pattern
This project is a collection of utilities for working with the file system using the observable pattern.
Installation
npm install --save @gmjs/fs-observable
Functions
Find
fromFindFsEntries(directory: string, options?: FindOptions): Observable<FilePathStats>
- Description - Search a directory for files. Search can be limited by depth.
- Parameters
directory: string
- The directory to search.options: FindOptions
- Description - Options for the search.
- Fields
depthLimit: number | undefined
:- Description
- The maximum depth to search.
- Default is
undefined
. - If value is
-1
orundefined
, there is no depth limit (limit is inifnite).
- Description