{"name":"sync-content","version":"2.0.4","description":"Synchronize the contents of one folder to another location, only copying files if contents differ.","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://blog.izs.me"},"main":"./dist/commonjs/index.js","module":"./dist/esm/index.js","types":"./dist/commonjs/index.d.ts","bin":{"sync-content":"dist/esm/bin.mjs"},"type":"module","tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"license":"BlueOak-1.0.0","scripts":{"preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","prepare":"tshy","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","format":"prettier --write . --log-level warn","typedoc":"typedoc --tsconfig .tshy/esm.json ./src/*.ts"},"dependencies":{"glob":"^13.0.1","mkdirp":"^3.0.1","path-scurry":"^2.0.0","rimraf":"^6.0.0"},"devDependencies":{"@types/node":"^25.2.2","prettier":"^3.8.1","tap":"^21.5.1","tshy":"^3.2.0","typedoc":"^0.28.16"},"engines":{"node":"20 || >=22"},"funding":{"url":"https://github.com/sponsors/isaacs"},"repository":{"type":"git","url":"git+ssh://git@github.com/isaacs/sync-content.git"},"gitHead":"d7d05360ab92fdbb4a9512b83f1b945d9731bfdd","_id":"sync-content@2.0.4","bugs":{"url":"https://github.com/isaacs/sync-content/issues"},"homepage":"https://github.com/isaacs/sync-content#readme","_nodeVersion":"24.4.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-w3ioiBmbaogob33WdLnuwFk+8tpePI58CTWKqtdAgEqc2hfGuSwP02gPETqNX/3PLS5skv5a1wQR0gbaa2W0XQ==","shasum":"7c600028f80b2b3ee39ee55e268662d4a052aa56","tarball":"http://registry-npm.ywwl.com/sync-content/download/sync-content-2.0.4.tgz","fileCount":17,"unpackedSize":62463,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEz43g9iMEhMSpOPKQhWPY8kF8UTiNf6HV4p0HSrNhxTAiEAzqE67qNFd2IuQy3K+YxfGXAXzA1ANS4nvudl5f6Akpg="}],"size":8607,"noattachment":false,"key":"/sync-content/-/sync-content-2.0.4.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sync-content_2.0.4_1770581161341_0.6537750025428428"},"_hasShrinkwrap":false,"readme":"# sync-content\n\nSynchronize the contents of one folder to another location, only\ncopying files if contents differ.\n\n## USAGE\n\n```js\nimport { syncContent, syncContentSync } from 'sync-content'\n\n// promise version will generally be faster, because parallel\nawait syncContent('/some/source/path', '/some/destination/path')\n\n// or sync version:\nsyncContentSync('/some/source/path', '/some/destination/path')\n\n// now they match!\n// Any files that already had matching contents were skipped.\n// Anything absent in the source was removed.\n// Anything that was the wrong type of entry was clobbered.\n```\n","publish_time":1770581161492,"_cnpm_publish_time":1770581161492,"dist-tags":{"latest":"2.0.4"}}