Skip to content

l0gd0g/fstime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •