1.0.4 • Published 6 years ago

fs-extra-debug v1.0.4

Weekly downloads
33
License
MIT
Repository
github
Last release
6 years ago

fs-extra-debug

Monitor fs-extra calls. Uses the debug module.

Usage

Add require('fs-extra-debug') before you start using fs-extra. It does not need to be required before fs-extra.

Then when you run your application, set the environment variables: FS_DEBUG=1 and DEBUG=fs. You can also use DEBUG=*. (See debug for more info)

Example output:

  fs outputFile '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/.git' +3ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/package.json' +1ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/commands' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/hooks/init' +1ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/hooks/init.ts' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/plugins' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/plugins.ts' +0ms
  fs remove '/Users/jdickey/Library/Caches/ts-plugin' +0ms
  fs remove '/Users/jdickey/.local/share/ts-plugin' +1ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/package.json' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/commands' +1ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/hooks/init' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/hooks/init.ts' +0ms
  fs pathExists '/Users/jdickey/src/github.com/anycli/engine/test/fixtures/typescript2/src/plugins' +0ms
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago