{"_id":"@jsonjoy.com/fs-snapshot","_rev":"4312405","name":"@jsonjoy.com/fs-snapshot","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","dist-tags":{"latest":"4.57.1"},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"time":{"modified":"2026-04-07T21:56:04.000Z","created":"2026-01-19T18:00:17.480Z","4.57.1":"2026-03-21T17:20:40.221Z","4.57.0":"2026-03-21T16:14:34.588Z","4.56.11":"2026-03-04T12:21:05.500Z","4.56.10":"2026-01-23T11:15:25.581Z","4.56.9":"2026-01-21T17:24:05.579Z","4.56.8":"2026-01-21T16:40:21.222Z","4.56.7":"2026-01-21T16:34:25.662Z","4.56.4":"2026-01-20T19:11:12.315Z","4.56.2":"2026-01-19T18:08:41.270Z","4.56.1":"2026-01-19T18:00:17.480Z"},"users":{},"author":{"name":"streamich","url":"https://github.com/streamich"},"repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"versions":{"4.57.1":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.57.1","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.57.1","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.57.1","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_integrity":"sha512-/oG8xBNFMbDXTq9J7vepSA1kerS5vpgd3p5QZSPd+nX59uwodGJftI51gDYyHRpP57P3WCQf7LHtBYPqwUg2Bg==","_resolved":"/home/runner/work/memfs/memfs/packages/fs-snapshot/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"shasum":"54cd9073a97e290a1650070f2ee9529a0accdb93","size":9652,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.57.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.57.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.57.1_1774113640063_0.4035368145313152"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-21T17:20:40.221Z","publish_time":1774113640221,"_source_registry_name":"default","_cnpm_publish_time":1774113640221},"4.57.0":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.57.0","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.57.0","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.57.0","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_integrity":"sha512-TVuJqPYXWNJINZ4dMl5bZR16dC5d3kmajF9unvEojGS70/qFH0n9Zq4UqAly3/RYjVim+y5fZZpwBP4VJtRf/g==","_resolved":"/home/runner/work/memfs/memfs/packages/fs-snapshot/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"shasum":"5ced727afd81c656f7f327214914d1637c0a6dbf","size":9651,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.57.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.57.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.57.0_1774109674443_0.38673726160865196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-21T16:14:34.588Z","publish_time":1774109674588,"_source_registry_name":"default","_cnpm_publish_time":1774109674588},"4.56.11":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.11","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.56.11","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.56.11","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_integrity":"sha512-IIldPX+cIRQuUol9fQzSS3hqyECxVpYMJQMqdU3dCKZFRzEl1rkIkw4P6y7Oh493sI7YdxZlKr/yWdzEWZ1wGQ==","_resolved":"/home/runner/work/memfs/memfs/packages/fs-snapshot/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"shasum":"c64e50c3ea2ec22d7c7ce0e27c4d3c9c910d1dc9","size":9653,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.11.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.11_1772626865355_0.4709096242597053"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-04T12:21:05.500Z","publish_time":1772626865500,"_source_registry_name":"default","_cnpm_publish_time":1772626865500},"4.56.10":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.10","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.56.10","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.56.10","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_integrity":"sha512-DkR6l5fj7+qj0+fVKm/OOXMGfDFCGXLfyHkORH3DF8hxkpDgIHbhf/DwncBMs2igu/ST7OEkexn1gIqoU6Y+9g==","_resolved":"/home/runner/work/memfs/memfs/packages/fs-snapshot/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"shasum":"05aadd2c0eaa855b13d6cb17d29b7c8cee239c8c","size":9652,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.10.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.10_1769166925439_0.7106685220038453"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-23T11:15:25.581Z","publish_time":1769166925581,"_source_registry_name":"default","_cnpm_publish_time":1769166925581},"4.56.9":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.9","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.56.9","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.56.9","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_integrity":"sha512-nMxEvDku2bCdCCNLkjd9hjPyUng8mLIfok8yAQ0zHNbZqeE44K5CSXnT0o3TGzv/zWynM49rUlF95ZjlNazFAQ==","_resolved":"/home/runner/work/memfs/memfs/packages/fs-snapshot/package.tgz","_from":"file:package.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"shasum":"5f000efff80ed1e0f5da7da03916ddfce315f03f","size":9653,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.9.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.9_1769016245374_0.6469359844088518"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-21T17:24:05.579Z","publish_time":1769016245579,"_source_registry_name":"default","_cnpm_publish_time":1769016245579},"4.56.8":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.8","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"workspace:*","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"gitHead":"ee160034f174a7c495ffff81db35f63c01f32a00","_id":"@jsonjoy.com/fs-snapshot@4.56.8","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"shasum":"a201146165843eb1068219f4c8d7fc4aa8a2054a","size":9515,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.8.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.8_1769013621040_0.8203893811668026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-21T16:40:21.222Z","publish_time":1769013621222,"_source_registry_name":"default","_cnpm_publish_time":1769013621222},"4.56.7":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.7","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":{"type":"git","url":"git+https://github.com/streamich/memfs.git"},"license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"workspace:*","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"gitHead":"f2e532dfa180c200b6bd7b59f6e5a46987b83fc1","_id":"@jsonjoy.com/fs-snapshot@4.56.7","bugs":{"url":"https://github.com/streamich/memfs/issues"},"_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"shasum":"ef3e53f6c1377f165ce5fa4032d7410dc45d91e6","size":9515,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.7.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:40ebf5c8-91a9-4735-9517-ffb562e57c40"}},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.7_1769013265523_0.8165717008566629"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-21T16:34:25.662Z","publish_time":1769013265662,"_source_registry_name":"default","_cnpm_publish_time":1769013265662},"4.56.4":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.4","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":"streamich/memfs","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/buffers":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.56.4","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.56.4","gitHead":"3843eddf95cae00136a747f0defa119e856aa475","dist":{"shasum":"ca329be9990b19334f06c1be302fcffade519687","size":9652,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.4.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.4_1768936272106_0.3670192070855316"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-20T19:11:12.315Z","publish_time":1768936272315,"_source_registry_name":"default","_cnpm_publish_time":1768936272315},"4.56.2":{"name":"@jsonjoy.com/fs-snapshot","publishConfig":{"access":"public"},"version":"4.56.2","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","author":{"name":"streamich","url":"https://github.com/streamich"},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","repository":"streamich/memfs","license":"Apache-2.0","funding":{"type":"github","url":"https://github.com/sponsors/streamich"},"keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"engines":{"node":">=10.0"},"main":"lib/index.js","types":"lib/index.d.ts","typings":"lib/index.d.ts","scripts":{"clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","test:ci":"yarn jest --maxWorkers 3 --no-cache","coverage":"yarn test --collectCoverage","typedoc":"typedoc","typecheck":"tsc -p ."},"jest":{"preset":"ts-jest","testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"transform":{"^.+\\.tsx?$":"ts-jest"},"transformIgnorePatterns":[".*/node_modules/.*"],"testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","rootDir":".","testPathIgnorePatterns":["node_modules"]},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"tslib":"2"},"dependencies":{"@jsonjoy.com/fs-node-utils":"4.56.2","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/util":"^17.65.0"},"_id":"@jsonjoy.com/fs-snapshot@4.56.2","gitHead":"90ebbb9f65519d102fa1c2c8ddf8e2052fb340a0","dist":{"shasum":"604444beb9acd774ab9b4fc906900b6745a754d9","size":9657,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.2.tgz"},"_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"directories":{},"maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-snapshot_4.56.2_1768846121140_0.07902679706377636"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-19T18:08:41.270Z","publish_time":1768846121270,"_source_registry_name":"default","_cnpm_publish_time":1768846121270},"4.56.1":{"name":"@jsonjoy.com/fs-snapshot","version":"4.56.1","keywords":["filesystem","fs","snapshot","serialize","deserialize","binary","cbor","json","backup","restore"],"author":{"url":"https://github.com/streamich","name":"streamich"},"license":"Apache-2.0","_id":"@jsonjoy.com/fs-snapshot@4.56.1","maintainers":[{"name":"json-joy-team","email":""},{"name":"streamich","email":""}],"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","dist":{"shasum":"9ccb0e0076027201348330058d864579d2651a32","size":9657,"noattachment":false,"key":"/@jsonjoy.com/fs-snapshot/-/@jsonjoy.com/fs-snapshot-4.56.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jsonjoy.com/fs-snapshot/download/@jsonjoy.com/fs-snapshot-4.56.1.tgz"},"jest":{"preset":"ts-jest","rootDir":".","testRegex":".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.tsx?$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","js","tsx"],"testPathIgnorePatterns":["node_modules"],"transformIgnorePatterns":[".*/node_modules/.*"]},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=10.0"},"funding":{"url":"https://github.com/sponsors/streamich","type":"github"},"gitHead":"c68fdb03287e18fb8de1b2945bfc8e0ce909926d","scripts":{"jest":"node -r ts-node/register ./node_modules/.bin/jest","test":"jest --maxWorkers 7","build":"tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib","clean":"rimraf lib typedocs coverage gh-pages yarn-error.log","test:ci":"yarn jest --maxWorkers 3 --no-cache","typedoc":"typedoc","coverage":"yarn test --collectCoverage","typecheck":"tsc -p ."},"typings":"lib/index.d.ts","_npmUser":{"name":"streamich","email":"vadimsdaleckis@gmail.com"},"repository":"streamich/memfs","description":"File system snapshot - serialize and deserialize file system trees to binary or JSON","directories":{},"dependencies":{"@jsonjoy.com/util":"^17.65.0","@jsonjoy.com/json-pack":"^17.65.0","@jsonjoy.com/fs-node-utils":"4.56.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","rimraf":"^5.0.0","ts-jest":"^29.4.2","ts-node":"^10.9.2","typescript":"^5.9.2","@types/jest":"^29.0.0","@types/node":"^20.0.0"},"peerDependencies":{"tslib":"2"},"_npmOperationalInternal":{"tmp":"tmp/fs-snapshot_4.56.1_1768845617351_0.47925970265814954","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2026-01-19T18:00:17.480Z","publish_time":1768845617480,"_source_registry_name":"default","_cnpm_publish_time":1768845617480}},"readme":"# @jsonjoy.com/fs-snapshot\n\nFile system snapshot - serialize and deserialize file system trees to binary (CBOR) or JSON format.\n\n## Installation\n\n```bash\nnpm install @jsonjoy.com/fs-snapshot\n```\n\n## Features\n\n- Serialize entire file system trees into compact binary (CBOR) or JSON snapshots\n- Restore file system trees from snapshots\n- Supports files, directories, and symbolic links\n- Both synchronous and asynchronous APIs\n- Works with any Node.js-compatible `fs` module\n\n## Usage\n\n### Synchronous API\n\n```ts\nimport * as fs from 'fs';\nimport { toSnapshotSync, fromSnapshotSync } from '@jsonjoy.com/fs-snapshot';\n\n// Create a snapshot of a directory\nconst snapshot = toSnapshotSync({ fs, path: '/path/to/directory' });\n\n// Restore the snapshot to a different location\nfromSnapshotSync(snapshot, { fs, path: '/path/to/restore' });\n```\n\n### Asynchronous API\n\n```ts\nimport * as fs from 'fs';\nimport { toSnapshot, fromSnapshot } from '@jsonjoy.com/fs-snapshot';\n\n// Create a snapshot of a directory\nconst snapshot = await toSnapshot({ fs: fs.promises, path: '/path/to/directory' });\n\n// Restore the snapshot to a different location\nawait fromSnapshot(snapshot, { fs: fs.promises, path: '/path/to/restore' });\n```\n\n### Binary (CBOR) Snapshots\n\nBinary snapshots are more compact and faster to serialize/deserialize:\n\n```ts\nimport * as fs from 'fs';\nimport { toBinarySnapshotSync, fromBinarySnapshotSync } from '@jsonjoy.com/fs-snapshot';\n\n// Create a binary snapshot\nconst binary = toBinarySnapshotSync({ fs, path: '/path/to/directory' });\n\n// Restore from binary snapshot\nfromBinarySnapshotSync(binary, { fs, path: '/path/to/restore' });\n```\n\n### JSON Snapshots\n\nJSON snapshots are human-readable and easier to debug:\n\n```ts\nimport * as fs from 'fs';\nimport { toJsonSnapshotSync, fromJsonSnapshotSync } from '@jsonjoy.com/fs-snapshot';\n\n// Create a JSON snapshot\nconst jsonSnapshot = toJsonSnapshotSync({ fs, path: '/path/to/directory' });\n\n// Restore from JSON snapshot\nfromJsonSnapshotSync(jsonSnapshot, { fs, path: '/path/to/restore' });\n```\n\n## Snapshot Format\n\nSnapshots are represented as tuples with the following structure:\n\n- **Folder**: `[0, metadata, { entries }]`\n- **File**: `[1, metadata, Uint8Array]`\n- **Symlink**: `[2, { target: string }]`\n\n## License\n\nApache-2.0\n","_attachments":{},"homepage":"https://github.com/streamich/memfs/tree/master/packages/fs-snapshot","bugs":{"url":"https://github.com/streamich/memfs/issues"},"license":"Apache-2.0"}