0.1.1 • Published 5 years ago

touch-ms v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

touch-ms

Touch, asynchronous and with millisecond granularity

Usage

A minimal helper to update asynchronously the mtime and atime of an existing file with the current date at millisecond granularity.

import touchMs from 'touch-ms';

touchMs('path/to/file'); // Returns a promise resolving to the new stats

License

touch-ms is MIT licensed.

© 2017 Jason Lenoble