big-int-stats
v2.0.18
Published
Create BigIntStats from fs.Stats for compatiblity on earlier versions of Node.js
Maintainers
Readme
big-int-stats
Create BigInt stats from fs.Stats for compatibility with earlier Node.js
versions.
npm install big-int-statsvar BigIntStats = require('big-int-stats').BigIntStats;
var fs = require('fs');
var smallStats = fs.statSync(__dirname);
var testBigStats1 = new BigIntStats(smallStats);
console.log(testBigStats1.isDirectory()); // trueThe package also exports toBigIntStats and toStats for converting between regular and BigInt stats objects.
