Skip to content

Intercepts Node fs calls and outputs them to log file if the path has the substring specified in TRACEFS env var

License

Notifications You must be signed in to change notification settings

sysgears/tracefs

Repository files navigation

Tracefs

npm version Twitter Follow

Traces Node fs calls to files with given path substring and logs requests and results into <tmpdir>/tracefs.log

Usage

npm install tracefs
tracefs -e :pathSubstring node ./myscript

or

tracefs -e trace.log:pathSubstring node ./myscript

Output example: Alt text

License

Copyright © 2019 SysGears (Cyprus) Limited. This source code is licensed under the MIT license.

About

Intercepts Node fs calls and outputs them to log file if the path has the substring specified in TRACEFS env var

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published