FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gulpExample/node_modules/clone-stats at master · 20B2/gulpExample · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

clone-stats

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

Usage

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

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

License

MIT. See LICENSE.md for details.


Back | FazBrowse Home | New Git URL