{"_id":"@gyselroth/windows-fsstat","_rev":"42-a6932cc5cf194ea3bb9b46168d400e72","name":"@gyselroth/windows-fsstat","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.2":{"name":"@gyselroth/windows-fsstat","version":"0.0.2","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.2","maintainers":[{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"dist":{"shasum":"9d7f46149468f265e2eb218e52cec021f07972f0","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.2.tgz","integrity":"sha512-gy2aZbYqhW60Pw+IuYM1e+bIzwhx2pTklfz1Y+wEWpQ71IJqi/eDUmD9YptacvEvxwTZ5KNwFXc+eAVKdYD6LQ==","signatures":[{"sig":"MEUCICdeMp0usH1d0GcqwUS9I6eqNeOEeeqqcgIiNzJlch46AiEA0LStGXuTjSZ2kTKgslHRR1f4f300w2xrHE9fSagPsKA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"9d7f46149468f265e2eb218e52cec021f07972f0","gitHead":"815d806b2712b1111105aba6c957135c4bf9a3a7","gypfile":true,"scripts":{"test":"node tests/index.js","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"raffis","email":"sahli@gyselroth.com"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"3.10.10","description":"stat module for Windows","directories":{"test":"tests"},"_nodeVersion":"6.11.1","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"devDependencies":{"mocha":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat-0.0.2.tgz_1504783967975_0.08555498742498457","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@gyselroth/windows-fsstat","version":"0.0.3","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.3","maintainers":[{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"os":["win32"],"dist":{"shasum":"220f0634b943d8a6c7bb0fe9463483d449eebf18","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.3.tgz","integrity":"sha512-nM/hLE1/38OhZAhUAixIrmvg7O9dQzYCVkmtJdMpo4UVGdoGnAv/c7gAdc7QIUayA6KIO8G/UkKFN/WvC3pXKw==","signatures":[{"sig":"MEQCIGnzuBzawSq8cBv43dXFx6LmV3DF41je+WfxW79VegixAiAvpqAyDEqmk5Tc2XJINjOztYcpBhAHODxB9x0dg7xTpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"220f0634b943d8a6c7bb0fe9463483d449eebf18","gitHead":"bca4b165ddd0577a6d74a780e346daf2853f2d10","gypfile":true,"scripts":{"test":"node tests/index.js","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"3.10.3","description":"stat module for Windows","directories":{"test":"tests"},"_nodeVersion":"6.5.0","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"devDependencies":{"mocha":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat-0.0.3.tgz_1504881425017_0.3824963194783777","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@gyselroth/windows-fsstat","version":"0.0.4","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.4","maintainers":[{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"os":["win32"],"dist":{"shasum":"d3bbac0cc852a538403295ca19563853e45d79b7","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.4.tgz","integrity":"sha512-Qb4lcS5edOKjvPFDREqGqrjKiuiGKBca1zxrKOxV53bqB3mbvcGcGY6CcH9ZMY4IBg+7nJOSq+RYw2+IXI9GLw==","signatures":[{"sig":"MEUCIBOz6mVd2tusgrVrqUVQzvoiRp00jCNPdx8irtUHtEQgAiEAtmLf7BXeQOQ1m14d8b9Nujb7XQ2AxIvXwJ2KvoVdRVA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"d3bbac0cc852a538403295ca19563853e45d79b7","gitHead":"386023ac465ae5cdede1caa0b3936a3388350b51","gypfile":true,"scripts":{"test":"node tests/index.js","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"3.10.3","description":"stat module for Windows","directories":{"test":"tests"},"_nodeVersion":"6.5.0","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"devDependencies":{"mocha":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat-0.0.4.tgz_1504886102580_0.08571188640780747","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@gyselroth/windows-fsstat","version":"0.0.5","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.5","maintainers":[{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"os":["win32"],"dist":{"shasum":"e01ef030c1cf09a5f70ccacb93a52b3bf915c384","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.5.tgz","integrity":"sha512-nDkV33a1ekNxSdEKuTCxDhnHGn3VXTK7yt3INvzGIDWnbm3kbAG220XhRu/s5+N6dgWH6uGbOLYZA5jpNBGYAg==","signatures":[{"sig":"MEYCIQCANqpMvbUlkO8uBlM+bEA8bnD1rnchWAzNt6tppLPIBQIhAPWBitu2u+IZ5aL2F2irz6ZjTzg7vXdAGVeLB5LNQZVs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"e01ef030c1cf09a5f70ccacb93a52b3bf915c384","gitHead":"58d2a5c1150ad0d384f3ffeffb19e4b3a5041178","gypfile":true,"scripts":{"test":"node tests/index.js","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"raffis","email":"sahli@gyselroth.com"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"3.10.10","description":"stat module for Windows","directories":{"test":"tests"},"_nodeVersion":"6.9.5","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"devDependencies":{"mocha":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat-0.0.5.tgz_1505486848208_0.7008300637826324","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@gyselroth/windows-fsstat","version":"0.0.6","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.6","maintainers":[{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"os":["win32"],"dist":{"shasum":"8e4ce4cdbc7266899fd679cf62297b8e4ad5bcbc","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.6.tgz","integrity":"sha512-I+KnbcYX8kc48XLMBAWB7hsD6lumZPmxxYqM8jlqCslNNxV0L7UTTTluEoNl1hgE5HfHcJ30WW0c6DGKLAyGug==","signatures":[{"sig":"MEUCIBHcDN43scG2m3qeplgTpC14tsLt41qQ5h/byHfffheBAiEAnHgeE6M8b5IKqmqG7hI7aIzjb8zE2nDzfWx0SHeh8Sk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"main.js","_from":".","_shasum":"8e4ce4cdbc7266899fd679cf62297b8e4ad5bcbc","gitHead":"11b9ebeb1c03526f08c300556a25965f1ed5b51d","gypfile":true,"scripts":{"test":"node tests/index.js","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"raffis","email":"sahli@gyselroth.com"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"4.1.2","description":"stat module for Windows","directories":{"test":"tests"},"_nodeVersion":"7.5.0","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"devDependencies":{"mocha":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat-0.0.6.tgz_1506351091778_0.571118566673249","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@gyselroth/windows-fsstat","version":"0.0.7","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","_id":"@gyselroth/windows-fsstat@0.0.7","maintainers":[{"name":"pixtron","email":"noodle-printing-machine@pixtron.ch"},{"name":"raffis","email":"sahli@gyselroth.com"}],"homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"os":["win32"],"dist":{"shasum":"6d358be22df3827ad5922cd7be62ee7a36bcb5fc","tarball":"https://registry.npmjs.org/@gyselroth/windows-fsstat/-/windows-fsstat-0.0.7.tgz","fileCount":54,"integrity":"sha512-dCdZRpcZhLsovVwrxdFdP6NLv2405jDNBuc4iiu92vw2htHRbRn6AgcRhZEPXsuu0mkdvWNI4goFi+4BST3Vyw==","signatures":[{"sig":"MEUCIQCecyn6xl76HBV0jBnwsbL6VV6Etd9dRsyCK8yLpIQ17AIgb2G70zz5mEKJxe/Ts+DiIienHNnRnTieu7QQIt7A6rw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7941565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEiqwCRA9TVsSAnZWagAA3OIP/i+XWN2yZqU6eDSwvEEP\nNb+NvddVv+4FwEplDRzSGlo3/kLWDIHNHajYfb9i/rJNBrYItoZKwdJaSIha\nJ6BAJg1pOJhJ61750ag+CN0k/q47pm6dS1hOEWHVgvQg9qBXHXmX+KBBe/7Z\nsuLur8I3zM+bA0S6wD27TfVZC4BpvHYHlQO3e61py0fl+aq1I8MY6aTRpPP5\nGoV8qqsRLk6qR1jhN/aMxdVM2JC9FjwPJouPxd0HVSFkpbM/mfAtcQNPxH9q\nxixQILuAKT5xBsx0IlMOKQfk9/eaehB1FbH+H57gIjGOID7+vPohLUoqv9Wh\n08nktPJnr0soSTTfa11lqkK799k4XlUsefpRe8/iP2m7ntVjHyuTJSQdC8An\nk12NpZyIahYnM1pptzubyGmuv3JfjkY9OEIl2GGlq2NvPBAxFadMR+kxX9Xi\nXKrKBqumr2lcCNSka1o1SQjTMaod2IuF0Z55E2U5GkKuqdWlO7tQV8HZsMMs\n9cE656MTv01kccYnO6B6JnsvQVQSc+I07hDzT/s6vMwBbUe2TPjGJDIz0M4f\ntMV01ZGwQn+Ujm5bPDeZB1RsyDkPXawCidyZZVZNjpsNXXrEX/Z74DHADe4A\nMhiXVtSRO1cQghYPmm1mJIUMhaodfc6sGAqBP8BmfDyQ7WxAabNri+0zRprQ\njq+z\r\n=PHWn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"main.js","gitHead":"c26b56be5f46af14bf94e390dfe93cc0cdb12b3a","gypfile":true,"scripts":{"test":"jest","start":"main.js","compile":"node-gyp rebuild","install":"node-gyp rebuild"},"_npmUser":{"name":"raffis","email":"sahli@gyselroth.com"},"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"_npmVersion":"5.6.0","description":"fstat module for Windows (unique inode fix)","directories":{"test":"tests"},"_nodeVersion":"8.11.3","dependencies":{"nan":"^2.6.1","node-gyp":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","mkdirp":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/windows-fsstat_0.0.7_1544694448031_0.5217884271409057","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-09-07T11:27:33.168Z","modified":"2026-08-24T12:10:25.595Z","0.0.1":"2017-09-07T11:27:33.168Z","0.0.2":"2017-09-07T11:32:48.952Z","0.0.3":"2017-09-08T14:37:05.911Z","0.0.4":"2017-09-08T15:55:03.416Z","0.0.5":"2017-09-15T14:47:29.125Z","0.0.6":"2017-09-25T14:51:32.881Z","0.0.7":"2018-12-13T09:47:28.249Z"},"bugs":{"url":"https://github.com/gyselroth/node-windows-fsstat/issues"},"author":{"name":"Raffael Sahli","email":"sahli@gyselroth.com"},"license":"MIT","homepage":"https://github.com/gyselroth/node-windows-fsstat#readme","keywords":["windows","inode","windows-inode","windows-fileid","windows-stats"],"repository":{"url":"git+https://github.com/gyselroth/node-windows-fsstat.git","type":"git"},"description":"fstat module for Windows (unique inode fix)","maintainers":[{"email":"noodle-printing-machine@pixtron.ch","name":"pixtron"},{"email":"stage@gyselroth.com","name":"npm-gyselroth"},{"email":"sandro@aebischer.one","name":"s-aebischer"},{"email":"weber@gyselroth.com","name":"marius.weber"},{"email":"sino@gyselroth.com","name":"mahmoud.sino"},{"email":"kohli@gyselroth.com","name":"laura.kohli"},{"email":"schoinas@gyselroth.com","name":"janis.schoinas"},{"email":"schuerch@gyselroth.com","name":"milena_s"},{"email":"ruven.witzig@gyselroth.com","name":"ruven_witzig"},{"email":"marra@gyselroth.com","name":"luca.marra"}],"readme":"# node-windows-fsstat\r\n\r\n[![Build status](https://ci.appveyor.com/api/projects/status/iikdg1nngoc1272j?svg=true)](https://ci.appveyor.com/project/raffis/node-windows-fsstat)\r\n[![npm](https://img.shields.io/npm/v/@gyselroth/windows-fsstat.svg)](https://www.npmjs.com/package/@gyselroth/windows-fsstat)\r\n[![GitHub release](https://img.shields.io/github/release/gyselroth/node-windows-fsstat.svg)](https://github.com/gyselroth/node-windows-fsstat/releases)\r\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/gyselroth/windows-fsstat/master/LICENSE)\r\n\r\nAlternative fs.lstatSync(path) for windows based systems. Since Windows does not have inodes and the node fs module\r\nprovides only an inode property which is a converted integer from the 64bit fileId (Windows equal to posix inode) integer.\r\nBut commonly known javascript can not handle 64bit integer, therefore the conversion into an integer can cause inode collisions\r\nwhich can be fatal.\r\nThere is absolutely no reason that inode must be an integer. An inode or fileId is just an identifier and can be anything. Therefore\r\nthis module provides besides the attribute \"ino\" an attribute called \"fileid\" which is a HEX representation (string) of the windows fileId.\r\n\r\nSee node issue [#12115](https://github.com/nodejs/node/issues/12115) for further information.\r\n\r\nThis issue has been fixed by PR [#20220](https://github.com/nodejs/node/pull/20220) (BigInt support) but has only been merged into node.js release >= v10.5.0. If you need to stick with a lower node version for any reason and still need unique inode numbers on Windows go with this package instead.\r\n\r\n## Install\r\n```\r\nnpm install --save @gyselroth/windows-fsstat\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nvar windowsFs = require('@gyselroth/windows-fsstat');\r\nconsole.log(windowsFs.lstatSync('C:\\\\windows'));\r\n\r\n{ fileid: '0x00020000000070FD',\r\n  ino: 562949953450237,\r\n  size: 0,\r\n  atime: 2017-08-07T06:58:53.000Z,\r\n  mtime: 2017-08-07T06:58:53.000Z,\r\n  ctime: 2017-03-18T11:40:20.000Z,\r\n  directory: true,\r\n  symbolicLink: false }\r\n````\r\n","readmeFilename":"README.md"}