1.1.0 • Published 1 year ago

stats-cloner v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

stats-cloner

Clone Node.js fs.Stats objects securely, retaining all class methods such as stat.isDirectory() and more.

Usage

stats-cloner

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

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

License

MIT. See LICENSE.md for details.

1.1.0

1 year ago

1.0.0

1 year ago