1.1.1 • Published 4 years ago

fstime v1.1.1

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

fstime

Install

$ npm install -g node-gyp
$ npm install fstime

Examples

const fstime = require('fstime');

fstime.utimesSync(pathToFile, 1496671445880.493406, 1496671445880.493406);

//1496671445880.493406: 
//	1496671445880 - milliseconds
//	493406 - nano part

// or this example :
fstime.utimesSync(pathToFile, 1496671445880493406, 1496671445880493406);

let stats = fstime.statsSync(pathToFile);

// stats Object fs.Stats

Tests

$ npm install
$ jest

Credits

License

The MIT License

Copyright (c) 2017 Maxim Jarusov

1.1.1

4 years ago

1.1.0

5 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago