tree: 612a0220c7e4f1e0ef2dd69bbd1000ec887dfa4e [path history] [tgz]
  1. index.js
  2. LICENSE.md
  3. package.json
  4. README.md
  5. test.js
node_modules/clone-stats/README.md

clone-stats Flattr this!experimental

Safely clone node's fs.Stats instances without losing their class methods, i.e. stat.isDirectory() and co.

Usage

clone-stats

copy = require('clone-stats')(stat)

Returns a clone of the original fs.Stats instance (stat).

License

MIT. See LICENSE.md for details.