observable-fs
v2.2.8
Published
Provides as Observables some of the APIs of node fs
Downloads
112
Maintainers
Readme
observable-fs
Provides as Observables some of the APIs of node fs
- readLinesObs: reads a file and, when finished, emits an array containing all the lines of the file
- writeFileObs: writes a file and emits the name of the file when the write operation is completed
- filesObs: reads all the files present in a directory and its subdirectories and emits an array with the names of the files
- dirNamesListObs: emits a list of names of the subdirectories contained in a directory
- makeDirObs: creates a directory and emits the name of the directory created when the operation is completed
- makeTempDirObs: creates a temporary directory and emits the name of the directory created when the operation is completed
- deleteDirObs: deletes a directory and emits the name of the directory deleted when the operation is completed
- appendFileObs: append a line at the end of a file and emits when the operation is completed
- deleteFileObs: deletes a file and emits the name of the file deleted when the operation is completed