https://github.com/sysgears/tracefs
Intercepts Node fs calls and outputs them to log file if the path has the substring specified in TRACEFS env var
https://github.com/sysgears/tracefs
Last synced: 6 months ago
JSON representation
Intercepts Node fs calls and outputs them to log file if the path has the substring specified in TRACEFS env var
- Host: GitHub
- URL: https://github.com/sysgears/tracefs
- Owner: sysgears
- License: mit
- Created: 2019-05-02T10:32:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T22:13:34.000Z (almost 2 years ago)
- Last Synced: 2025-04-28T09:39:16.086Z (about 1 year ago)
- Language: TypeScript
- Size: 65.6 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Tracefs
[](https://badge.fury.io/js/tracefs)
[](https://twitter.com/sysgears)
Traces Node fs calls to files with given path substring and logs requests and results into `/tracefs.log`
## Usage
```bash
npm install tracefs
```
```bash
tracefs -e :pathSubstring node ./myscript
```
or
```bash
tracefs -e trace.log:pathSubstring node ./myscript
```
Output example:

## License
Copyright © 2019 [SysGears (Cyprus) Limited](http://sysgears.com). This source code is licensed under the [MIT](LICENSE) license.