clone-stats
Safely clone node's fs.Stats instances without losing their class methods
Last updated 11 years ago by hughsk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install clone-stats 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

3 Versions

  • 1.0.0                                ...           11 years ago
  • 0.0.1                                ...           13 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 6
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 3
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE