{"versions":{"1.0.0":{"name":"@types/clone-stats","version":"1.0.0","license":"MIT","_id":"@types/clone-stats@1.0.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/gasp","name":"gaspard","githubUsername":"gasp"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clone-stats","dist":{"shasum":"79df5fbb3587ddb1be981f1fcf25c42e7244beb8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/clone-stats/-/clone-stats-1.0.0.tgz","fileCount":5,"integrity":"sha512-xIRlfzeyBTL/+ctqBDjILYcPItJIjspJQVau/ZALL32mdM3KVlRyYlJNrZJOpQ1yf2n4rjGwMutNtmPyPkTnbQ==","signatures":[{"sig":"MEQCIHhG5Yd1UCurmTf+tVQeWBNPTR2b8idFiihQ0NIo8UAyAiBj70/LLEe3Ed5kixqQEJIUn4Eh6RtBfg6aUkl9bG4v5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3739,"size":1803},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/clone-stats"},"description":"TypeScript definitions for clone-stats","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/clone-stats_1.0.0_1770281130305_0.369633541584923","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"33886762f915964b4f9a7efa3e7120a2fdd038a1eb977765afe8a8dc6cbe6558","_cnpmcore_publish_time":"2026-02-05T08:45:30.477Z","publish_time":1770281130477,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.0.0","ts5.2":"1.0.0","ts5.3":"1.0.0","ts5.4":"1.0.0","ts5.5":"1.0.0","ts5.6":"1.0.0","ts5.7":"1.0.0","ts5.8":"1.0.0","ts5.9":"1.0.0","ts6.0":"1.0.0","ts7.0":"1.0.0","ts7.1":"1.0.0"},"name":"@types/clone-stats","time":{"created":"2026-04-01T17:45:51.591Z","modified":"2026-10-04T08:20:47.262Z","1.0.0":"2026-02-05T08:45:30.477Z"},"readme":"# Installation\r\n> `npm install --save @types/clone-stats`\r\n\r\n# Summary\r\nThis package contains type definitions for clone-stats (https://github.com/hughsk/clone-stats).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clone-stats.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clone-stats/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nimport { Stats } from \"fs\";\n\n/**\n * Safely clone a Node.js fs.Stats instance without losing class methods.\n *\n * @param stats - The fs.Stats instance to clone\n * @returns A new Stats instance with the same properties\n *\n * @example\n * ```javascript\n * var fs = require('fs');\n * var cloneStats = require('clone-stats');\n *\n * var stats = fs.statSync('file.txt');\n * var cloned = cloneStats(stats);\n *\n * cloned.isFile(); // still works!\n * ```\n */\ndeclare function cloneStats(stats: Stats): Stats;\n\nexport = cloneStats;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 05 Feb 2026 08:45:22 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [gaspard](https://github.com/gasp).","users":{}}