{"_id":"tmp-sync","_rev":"15-e1e7613bf9e5dfdc78b77330ff3ce0de","name":"tmp-sync","description":"The sync version of tmp just for test cases, making it much easier.","dist-tags":{"latest":"1.1.2"},"versions":{"0.1.0":{"name":"tmp-sync","version":"0.1.0","description":"tmp-sync","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@0.1.0","_shasum":"f432ec0b82d4147f087ac899080bc8fb5745f404","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"f432ec0b82d4147f087ac899080bc8fb5745f404","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-0.1.0.tgz","integrity":"sha512-2QbiGhkZq1SeNSauo01N0CUpicjzioSZ1tJJ7Cfyztp369vG+pcAtSWFjGs/Xv6wW0XrCWecp6JUzLz1UTd50g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBj4syNEJqeQgFpZ6Sm6BSoHiDqtEhyUENQLZq5l8tylAiB+ym4nN6jroIf0MfawIq5Qd0wWGkb25dFaGwEL9jpIgA=="}]}},"0.1.1":{"name":"tmp-sync","version":"0.1.1","description":"tmp-sync","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"dependencies":{"fs-sync":"^0.2.4"},"homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@0.1.1","_shasum":"15e2b6820c281ecce55caed524e9847da79d6e99","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"15e2b6820c281ecce55caed524e9847da79d6e99","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-0.1.1.tgz","integrity":"sha512-0nUihNiEA4B99D+WA0h7LcQgwE8D3FKVNRvGz/NOYYw2OWdddcHgnEsEs5JzEeoSavmoPsDJeFTReN7MrpYSsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgCyGxTUu7Fj5xsUsR/eMl4gWk0+GXptnL5Ff4rY8E1wIgdHCtDI9iIJGawVRocjm5+zE7hx8IGIMC1EN0AqhQLBY="}]}},"0.1.2":{"name":"tmp-sync","version":"0.1.2","description":"tmp-sync","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"dependencies":{"fs-sync":"^0.2.4"},"homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@0.1.2","_shasum":"797254aa57cf09835b870a06ae71c864bccd8b50","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"797254aa57cf09835b870a06ae71c864bccd8b50","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-0.1.2.tgz","integrity":"sha512-hIdSu785+cmMbbidSRflnL+tXnVH93UBvCG2DfnzmZhUSlhwg58qJK0q8Bk0RnQ9brOiZw65lqDpFQSVSFd5ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEueW0spMxn9oBhq5Usk2twF+zZKaMAKC9NSdabP95Y8AiEA7u36qc3qh06id6QrcCljbPgBii38NT6t3EE5IYbNcDI="}]}},"1.0.0":{"name":"tmp-sync","version":"1.0.0","description":"The sync version of tmp just for test cases, making it much easier.","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"dependencies":{"fs-sync":"^0.2.4"},"homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@1.0.0","_shasum":"cb50d80fb5c2a88da77b51bc2a190b094d8a9f18","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"cb50d80fb5c2a88da77b51bc2a190b094d8a9f18","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-1.0.0.tgz","integrity":"sha512-710tZxIdxHZI7fwf32uFFvG+hDq+I2RfrSxGXKzlTDQxGSEAP2Xtoh9rzIo/yz2nSBzavS3FYWgt8wzQHAfAwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqXsfr335UPV+qRbUCloSLs1OH+LcZsFf9erWXRfcVtQIgRvYl/JF5iRmC+iYgxSPpnSZu/9FNAEcsSWVQK3fo4GM="}]}},"1.0.1":{"name":"tmp-sync","version":"1.0.1","description":"The sync version of tmp just for test cases, making it much easier.","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"dependencies":{"fs-sync":"^0.2.4"},"homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@1.0.1","_shasum":"9582fe9e73a5dbc7cbcb29240109e88e4912fe04","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"9582fe9e73a5dbc7cbcb29240109e88e4912fe04","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-1.0.1.tgz","integrity":"sha512-Zhhe7+uSMmRUR+NxouFVrwve65Nz3xRpngnBLR2unI3lvjhimrPDneV+FG6Vew+lIG6LXA6mWbWxFLo9RHK/nQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+rOAqO95hLeTxFpIeRKTMoVHURGOzMyoH4hIbc9RPDwIgUIqAKYBg4OGf8wfNcAP6LKTE7W9M+3zlucubcikTsPE="}]}},"1.1.0":{"name":"tmp-sync","version":"1.1.0","description":"The sync version of tmp just for test cases, making it much easier.","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git@github.com:kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"mocha":"~1.13.0","chai":"~1.8.0"},"dependencies":{"fs-sync":"^0.2.4","osenv":"^0.1.0"},"gitHead":"f0063eda5b6a0a8cee7cfde64d1f63136cd4da6b","homepage":"https://github.com/kaelzhang/node-tmp-sync","_id":"tmp-sync@1.1.0","_shasum":"2b38ec94b094ed2515ec02a9aee1f51dd2c9023f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.1","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"2b38ec94b094ed2515ec02a9aee1f51dd2c9023f","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-1.1.0.tgz","integrity":"sha512-CyPfqmyjX2TUyVrUumjtYNmOy/m0Ho4gQGP8oS58fNMAIJy5e75EAKuxj9E3OM7mm8M7tBWkqjpk5AkktC9ysA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5CIAEYtQfpOYV35Bt7WC+htEXMWkllyZkVkgCLpVYTAiEA/qjszJCHhIAhqFchUD6EXqT4zILuWgUTkAradJEOW7c="}]}},"1.1.1":{"name":"tmp-sync","version":"1.1.1","description":"The sync version of tmp just for test cases, making it much easier.","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+ssh://git@github.com/kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"chai":"~1.8.0","mocha":"~1.13.0"},"dependencies":{"fs-sync":"^1.0.4","osenv":"^0.1.0"},"gitHead":"731e36769f10740b5ed364472551c9819b28e5a0","homepage":"https://github.com/kaelzhang/node-tmp-sync#readme","_id":"tmp-sync@1.1.1","_shasum":"857215f59082e8e1a03dac27cb951c8504c63e0a","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"kael","email":"i@kael.me"},"dist":{"shasum":"857215f59082e8e1a03dac27cb951c8504c63e0a","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-1.1.1.tgz","integrity":"sha512-i4TPSaiIq1vyXBpdoX5+6VwqXU7kRk3VAxlkNO1ANyUzLV8kWHnGCr/GsESagICn1CDjQhA+D+18wiymP4SrZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAwtQWvjsxy2IDoDc6r+jzWJ0AHXqmsTPUlWic5fhDZAIgBZFx4fxFqaDLCupn+LE0nIl+BNNp33h89p9IFbKD4ao="}]},"maintainers":[{"name":"kael","email":"i@kael.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tmp-sync-1.1.1.tgz_1490598608671_0.6460329552646726"}},"1.1.2":{"name":"tmp-sync","version":"1.1.2","description":"The sync version of tmp just for test cases, making it much easier.","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git+ssh://git@github.com/kaelzhang/node-tmp-sync.git"},"keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"engines":{"node":">=0.8.0"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"devDependencies":{"chai":"~1.8.0","mocha":"~1.13.0"},"dependencies":{"fs-sync":"^1.0.4","osenv":"^0.1.0"},"gitHead":"dbf21363591e590cce741435a767a00838f1fcad","homepage":"https://github.com/kaelzhang/node-tmp-sync#readme","_id":"tmp-sync@1.1.2","_shasum":"ba04d94a8ed9c0f35a54739970792f997a6cc1c8","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"kael","email":"i@kael.me"},"dist":{"shasum":"ba04d94a8ed9c0f35a54739970792f997a6cc1c8","tarball":"https://registry.npmjs.org/tmp-sync/-/tmp-sync-1.1.2.tgz","integrity":"sha512-npRDYJiMaPWhcLf6q06v/vA3o/ZG4hfHDiBuj1N3Yeh3GTkFQb1YLFs6inDGMWIHjGidl4Oc1+oXHNKKj5vkDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5ETdtVX+DgYzaCN3pi1hBTuX82fUNtKKZkvUrZx01aAIgUBqLxs51VKDnSawnWqhASetLoouhnFRva2teSn0pHZE="}]},"maintainers":[{"name":"kael","email":"i@kael.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/tmp-sync-1.1.2.tgz_1490598797064_0.5322668296284974"}}},"readme":"# tmp-sync [![NPM version](https://badge.fury.io/js/tmp-sync.svg)](http://badge.fury.io/js/tmp-sync) [![Build Status](https://travis-ci.org/kaelzhang/node-tmp-sync.svg?branch=master)](https://travis-ci.org/kaelzhang/node-tmp-sync) [![Dependency Status](https://gemnasium.com/kaelzhang/node-tmp-sync.svg)](https://gemnasium.com/kaelzhang/node-tmp-sync)\n\nThe sync version of tmp just for test cases, making our life it much easier.\n\n## Why?\n\nI got tired of write asynchronous codes of [`tmp`](http://www.npmjs.org/package/tmp) even just in test cases.\n\nOnly use this package in your test cases, not in production environment for you should always using asynchronous fs.\n\n## Usage\n\n```js\nvar tmp = require('tmp-sync');\n```\n\n### tmp.in([root])\n\n- **root** `path=` the root path for the temp directory (optional, default to OS tmp directory)\n\nMakes a temp dir inside `root` and returns the newly created dir. The dir will be automatically `tmp.mark()`ed.\n\n### tmp.mark(dir)\n\n- **dir** `path` the path of a directory\n\nMarks a dir, and the dir will be removed when the current process exits.\n\n### tmp.clean()\n\nCleans all marked tmp dirs. Most usually you need not to call this method manually.\n","maintainers":[{"name":"kael","email":"i@kael.me"}],"time":{"modified":"2022-06-27T07:17:34.670Z","created":"2014-05-17T13:16:59.756Z","0.1.0":"2014-05-17T13:16:59.756Z","0.1.1":"2014-05-17T13:29:23.272Z","0.1.2":"2014-05-17T13:32:59.210Z","1.0.0":"2014-05-17T15:34:37.302Z","1.0.1":"2014-05-17T15:36:25.580Z","1.1.0":"2015-08-14T18:20:52.985Z","1.1.1":"2017-03-27T07:10:10.620Z","1.1.2":"2017-03-27T07:13:18.903Z"},"homepage":"https://github.com/kaelzhang/node-tmp-sync#readme","keywords":["tmp-sync","temporary","tmp","temp","tempdir","tempfile","tmpdir","tmpfile"],"repository":{"type":"git","url":"git+ssh://git@github.com/kaelzhang/node-tmp-sync.git"},"author":{"name":"kael"},"bugs":{"url":"https://github.com/kaelzhang/node-tmp-sync/issues"},"license":"MIT","readmeFilename":"README.md"}