JSPM

fs-extra-debug

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 239
  • Score
    100M100P100Q129150F
  • License MIT

Package Exports

  • fs-extra-debug

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fs-extra-debug) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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