Package Exports
- fstime
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fstime) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
Copyright (c) 2017 Maxim Jarusov