touch-ms

Touch, asynchronous and with millisecond granularity


License
MIT
Install
npm install touch-ms@0.1.1

Documentation

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