{"_id":"filestorage","_rev":"34-54ec929b7acacd212fa9c604e96f10e7","name":"filestorage","description":"File storage for file uploading.","dist-tags":{"latest":"1.7.1","beta":"1.7.1-2"},"versions":{"0.0.1":{"name":"filestorage","version":"0.0.1","description":"File storage for your web sites","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"_id":"filestorage@0.0.1","dist":{"shasum":"ea745e821fd307722fa06071f87d90973e03b85a","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-0.0.1.tgz","integrity":"sha512-O41TalKoesmiNBCm8Np93LsGwe9gY9LhIepwaWGG/7bteUInbYXOIyrDrzInahr671TUEeTB/0WqEE3kuNL6RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1gSp1t6rXj0mJdscAS12wiCURBENJ13dgSaGOYwiY8AiB4pY2ZBT9TVEJw9tvYTmF0xMTvesXOK8iZLDsnv7BPVA=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.0":{"name":"filestorage","version":"1.0.0","description":"File storage for your web sites","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"_id":"filestorage@1.0.0","dist":{"shasum":"81c07d7e57fb18026d8fbcdbe227334b1ab94d3a","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.0.tgz","integrity":"sha512-A6G2YWdfm1UR1n59Qi5tzN+AYu4L3zx3QPqoiZaNd5bToQ6Ynxnde/8/uMcZzXtlS7v1eE799KfKJje3AYy7tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTb0Q1MbkA5wQuKKfQ2E/Yq8DPhAzc5HsfMQnng9I7yAiBtA2zlZnhIlo1Ci53vHKymBoNs4fpMMPx5BStDBqwWYw=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.1":{"name":"filestorage","version":"1.0.1","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.1","dist":{"shasum":"aaec9597cb157c06a33cde44df5e1775e6751314","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.1.tgz","integrity":"sha512-vO8FKOerkcFWjHrS8M4fPpiCSWp7AofRyUgM1uHahSfXV70QJC+MJubjjUzNN5NNc8x11FYxPO55J+FuVQ53cA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSWBJIM0nrqX0m2D7TqDR49Xkdxxsjk6UnRpY3tQ0GvAiBsrR/s+9ykRBBUU4lBz2dSl6X8EeRyrLuXiTqZqMwhFg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.2":{"name":"filestorage","version":"1.0.2","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.2","dist":{"shasum":"b3faec5148d7f755f16bf784862a5d7f82171f4c","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.2.tgz","integrity":"sha512-/TrWl3IM2lJBoLiNABh8auWIlkLbncXP+NEaHl8fN6dg0zX6Y7WOqCe6/nD5N/QEMGRZrI9/F/tG1SmWXcAw2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvn1pWk9FfN0oZMJURNJy7o48QGaTkuXILA5SdXJ/rwwIhALedh7oqQV5b5HM93wwV2BaJgVpSFNJmSI/CpBHFQzRZ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.3":{"name":"filestorage","version":"1.0.3","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.3","dist":{"shasum":"2d0a01e883f26fcfca4d73122a1a9dd71bf3655a","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.3.tgz","integrity":"sha512-jcLb9C0hcDLLqOrUIIj9QM+tupa1LLHkpJ7PR1m9Nw0ECVgUIY9ihADyq9z0FwxSkf2HUOMQTAmXgz8KMt4y0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoX7USJGzvEk5b2IXFx8CvgO72KH0s/Uh5QMlvBR7ZYQIhAI76bzuHltJIuHo/dQlQeVpAcBo+y2GSWfSKbdNBZ6uy"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.4":{"name":"filestorage","version":"1.0.4","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.4","dist":{"shasum":"01e2b281a3d8d85d829cf306985625fdfc6007e2","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.4.tgz","integrity":"sha512-mN8O5XEHohnFxfcLJeYABt5yQ3cD+rBCJYivbBFk8u7/75wik76GLJtcSaR9B5Tz4hBlyAqp/HyChwc2nkyMqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV0U4f5KqEf1g7Vt74WATTOb4JEn7QU3iynERN3ZgfIQIhAJSvEjnWuYsM7Qfv//FY9Hxz0T3yKDhBr7xXfwdfK1zz"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.5":{"name":"filestorage","version":"1.0.5","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.5","dist":{"shasum":"3c2297ba1d87dc4aaeef3f9607e2d67cbcbd7fb5","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.5.tgz","integrity":"sha512-jY7SNlwXavqAGg+HzsWWqD+N8RC/JL8OhYOlePhkqmrwkmHgMLPW6MVlT2h/MfvfT+qUTkFxXMdb1JO8j0xeYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSUgazLRVWOl5k73uP022Fl8VkdJc6Z6QA5Nii0a873gIhAIXqPaOMbaPi7fPdzy0jM2eILCOwfBvfiqlajehnOmII"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.6":{"name":"filestorage","version":"1.0.6","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.6","dist":{"shasum":"80958ec6975ab34208182dd4281313ca3a8f06d6","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.6.tgz","integrity":"sha512-+xG8kHERFrfdl29qXwFO2OhP1sg8RfB1jiKzgwaUQOois0ULqwDF6LqI6c+qxz6gDn+SrJo2vjocIVta3w41pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdoU2HHGbIyixTQZEqimdeyOkgQgGaZEzBy5IqHnxChAiEAuphWtL2HQzDGITqXK1jdymbbUtHQfvvuyzy8e13QX0w="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.0.8":{"name":"filestorage","version":"1.0.8","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.8","_shasum":"d7f9798e1afe737c810c250a5b27ef42433858ec","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"dist":{"shasum":"d7f9798e1afe737c810c250a5b27ef42433858ec","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.8.tgz","integrity":"sha512-rOZTSI8DNBJf28K8eWEJSyDP0v9VJwwL7Wv7ZZdveD2z93526hXrdDdC2pBdDBj2gw+YkMAReqbeX8TalPxdSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+bCVGzHOoy5IjEqXkeNb61MX2fJxWEtJ81of9owUloAiBm9l2LB5F3EYDs8YiI/u7Tcmp+29CBupREWmzjMB0tJA=="}]},"directories":{}},"1.0.9":{"name":"filestorage","version":"1.0.9","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.0.9","_shasum":"0059f1b5c26e06c62eb2ba2baa61853b58e31d91","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"dist":{"shasum":"0059f1b5c26e06c62eb2ba2baa61853b58e31d91","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.0.9.tgz","integrity":"sha512-4CEdReVgxGed8nioHn+6ToCq+yycDcORnDE3uXKbLaRcUghQeBHnWPW0QoIvJ3504qTc15XXOgd8/XF3YDIsEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL8MFohPFMPMjkBAy6zGMXjZQwKloIe6VHpLLyaE0G3AIgIPVksJCCHNoVJh+NzQFmHAjxQ3cJI0O7QN5GrbgK5p0="}]},"directories":{}},"1.1.0":{"name":"filestorage","version":"1.1.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.1.0","_shasum":"5dd88b139b2be97ae820b18e1eec6decce09829d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"dist":{"shasum":"5dd88b139b2be97ae820b18e1eec6decce09829d","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.1.0.tgz","integrity":"sha512-/izgG3uyoV5/snrhLKLtPr1BvK4FHomgN8HAAMwESuVRYy3EcTfFdO13cRfmkMIO13JBc5hxcf1rjEwI6O7f3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7Md9BuRcgTUrcz6x4NFXgpyWl50W6z5mphIiqvb4NlgIhAKxa7oxdjN77mYaMGtnTptmoRuVysPa2awxuu1mZtFIS"}]},"directories":{}},"1.2.0":{"name":"filestorage","version":"1.2.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage","_id":"filestorage@1.2.0","_shasum":"6e4d0952f2626470a1b3765aa01489e7f50480df","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"dist":{"shasum":"6e4d0952f2626470a1b3765aa01489e7f50480df","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.2.0.tgz","integrity":"sha512-A7eyHg6uON/5k68pKLqbesC9x/RagzI4Jms235xC7pgTtRlCsyF5n+AwbjOcZh7EwVQfnPj5X3Qe7ftID6aBIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMM1OMyo+L4IwwsUIF9x7gyzJFUqaXYMbkNJTTJCBiCgIgSL8xKtgrq/fSr1guAqena98XGvWlyHGKqGUJh4mPoJo="}]},"directories":{}},"1.3.0":{"name":"filestorage","version":"1.3.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"83a9ed157a2b3b549644d0ba875c61a36032b769","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.3.0","_shasum":"d51973763ded35b590e3500eaaf715816faba1bb","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"shasum":"d51973763ded35b590e3500eaaf715816faba1bb","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.3.0.tgz","integrity":"sha512-pGWa6d7cTbkbMOtwJx6g23tonFqJwmntz31jUA0/GCJrjfuGC2h6hvmYQcAzxtUWMeu/p5IlMJz4AhvQDczUKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvCzXgohI2c7Gh/9jJyYyy4iE9M/HwUqldsh46UJfRdAIhANyMGA1sDRLYjka1MPBITVJOHS3T9WCsFO87AcvK6LYI"}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.4.0":{"name":"filestorage","version":"1.4.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"9799f141eab6728de1283068cdcc2cce8a56d96d","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.4.0","_shasum":"7a45ffca606b31caf63946313b61765f8378714e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"shasum":"7a45ffca606b31caf63946313b61765f8378714e","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.4.0.tgz","integrity":"sha512-++4ZCmI9zcuedagdc2fol5E4SWS3Tj9dB+ZjhwMCHJ+ntbVKGztwGiA0MjBNTJ5CNKgsUqRIklFFQX923Ljm5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClyC2RAPqA0SE0uYgzhEMq5u8KM3xUZ4nvEAo0buE51QIgFVioC6EOsvkGxzbgZ+e7L1FBMHp3g189qi3uh0F3HkU="}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{}},"1.5.0":{"name":"filestorage","version":"1.5.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"87aedb1699a2e529eb564a8a012798d272caff3c","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.5.0","_shasum":"ceed1e51290f3fcb3971a809068aed7ff18983ed","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"shasum":"ceed1e51290f3fcb3971a809068aed7ff18983ed","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.5.0.tgz","integrity":"sha512-yACRjEfLavCPyu6BUCUxwBqXqE/VTV3zcFYa/Oh7ZZORKzs6eejgpvnhBwSG2Wg/Y036ZmAxqrmG4IF7j8A+bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJK+WnD7MWe/9tQtB+o15mpA3BDwIWbu8oVLW9lQ4dcQIgSrHsOHDRKNJ62JcevEWO1/Rg8aQvRIRk/F0oaoTghSM="}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/filestorage-1.5.0.tgz_1460296378900_0.18567026290111244"},"directories":{}},"1.7.0":{"name":"filestorage","version":"1.7.0","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"e8f15281ddbe442734df1097d0f74af9e759f3dd","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.7.0","_npmVersion":"5.4.2","_nodeVersion":"8.8.0","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"integrity":"sha512-hF1qe+cqmWDsK+q5TD45AxDhGEO9MgST8ImlVvzruo8tcFoYFFWFoUjfnOaVi/OncVL6Q6wKePuhG2vGdQZS1g==","shasum":"5ef59f6ff47d5d42d424315499a8ee2e6b65aac3","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.7.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdYh4ClE7/KguwtaRiAEaqCRxKsxsnde33pEwKbCvhXAiEAn5n2M6emMQm0cBa5Xx0EvloV2bzPzmizzrnc8TFbT0c="}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filestorage-1.7.0.tgz_1509098277986_0.16224580653943121"},"directories":{}},"1.7.1-1":{"name":"filestorage","version":"1.7.1-1","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"a73832008dad365bb73c75915735d4b482aabed7","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.7.1-1","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"integrity":"sha512-ROzl9vbvMGOHbJ6ShMY9PjSNwvRglA3lf5OR25OJT9GXij9PMqjr/Vgz6+ShqlJZ3CDb95Dhw2gTpfbnJa+rhg==","shasum":"7a5bb457a95a9fd6ef12666ade82477f7f973c4e","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.7.1-1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvFjisDroZ/OQ0bhEjGM/H6tXBuefWVnKvU04+UC0vqAiAZ53yhD2DPnCB9Hk6HZSL4G11d/MkZngjuCn22un4Rnw=="}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filestorage-1.7.1-1.tgz_1513253938913_0.8108898624777794"},"directories":{}},"1.7.1-2":{"name":"filestorage","version":"1.7.1-2","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"06b4d4b0ece04d17f3fbebaed7f99262d4bbdf71","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.7.1-2","_npmVersion":"5.6.0","_nodeVersion":"8.9.0","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"integrity":"sha512-zDsicg/7Zn+tg+WUrwdFPl152hOZkQfho1O08qfYjnyFB242CVBu/V+wcRBMySWB4r97Xa3xD5JZs1Y16UqSkw==","shasum":"09d37b1ea4eb9731ef1a2f1f1177c5376ac1cec2","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.7.1-2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjo8W0pxEwPuf3nRiKb0CZ6XM7a6IdFFwvjqun0/WGEQIgM+9drxdx5pgo/SK/nAZac8iw9PuWZxne8Hwzaq63Rtw="}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filestorage-1.7.1-2.tgz_1513334330245_0.21983524644747376"},"directories":{}},"1.7.1":{"name":"filestorage","version":"1.7.1","description":"File storage for file uploading.","main":"./index.js","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"engines":{"node":"*"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"author":{"name":"Peter Širka"},"gitHead":"bdae59c3bdfb3e0d5544033efc84ea789bd7ea0e","bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"homepage":"https://github.com/petersirka/node-filestorage#readme","_id":"filestorage@1.7.1","_npmVersion":"5.7.1","_nodeVersion":"9.0.0","_npmUser":{"name":"petersirka","email":"petersirka@gmail.com"},"dist":{"integrity":"sha512-eAI2mlS8EJMf2ygmR058ptT96D8zoZh9ZpiR/z7oDigkwZgS4rpYwt9YzMMD74QCwclsUXT638YcEnw7XZBKBw==","shasum":"b4989401775e9e9d4dcfd0fee449b09acef1ab9b","tarball":"https://registry.npmjs.org/filestorage/-/filestorage-1.7.1.tgz","fileCount":5,"unpackedSize":42823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFuct0Lg3+scGQwSDQ9fxKQHNxYyrV9LYcEY27SlnBGAIhAPx3G/1reVoluL8Yrv1WslVZODoaBnL3fbM2+LGtwWRU"}]},"maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/filestorage_1.7.1_1521722957458_0.4431499551927234"},"_hasShrinkwrap":false}},"readme":"Storage for storing files\n=========================\n\n- IMPORTANT: __CLUSTER NOT SUPPORTED__\n- Best use with [www.totaljs.com](http://www.totaljs.com)\n- perfect solution for web sites\n- supports custom path\n- supports insert, update and remove files\n- supports reading files\n- supports sending files via HTTP\n- supports file listing\n- supports changelog (insert, update, remove)\n- __supports auto-pipe stream to response__\n- __supports auto HTTP CACHING (via ETag)__\n- supports adding custom attribute to each file\n- supports file streaming via HTTP - Content Range\n- supports custom handler executing before saving file to the storage\n- __auto-read picture properties: width and height__\n- auto-create directories and the good logic\n- supports stat() and copy()\n- 100% pure JavaScript\n- MIT license\n\nInstallation\n------------\n\n```\nnpm install filestorage\n```\n\n\nHow to storage store files?\n---------------------------\n\n> Directory contains max 1000 files. Each file has .data extension and each file contains internal META information (2 kB). Each directory contains the config file with the informations about all files.\n\n/your-path/000-000-001/000000001.data\n\n> if directory contains more than 999 files then storage automatically create a new directory:\n\n/your-path/000-000-002/000001000.data\n\n> The benefit: querying by the file ID {Number} and auto-pipe to HttpResponse\n\n***\n\n```javascript\n\nvar storage = require('filestorage').create('/path/to/directory/');\n\n// Do you want to re-assign id of removed files? If yes, set:\n// storage.reassign = true;\n\n// You can create more file storages\n// EXAMPLE:\nvar storage_users = require('filestorage').create('/path/to/users/');\nvar storage_products = require('filestorage').create('/path/to/products/');\nvar storage_logs = require('filestorage').create('/path/to/logs/');\n\n\nvar storage_default = require('filestorage').create();\n\n// default path: /process–directory/filestorage/\n\n// ================================================\n// FILESTORAGE INSERT\n// ================================================\n\n/*\n\tInsert a file\n\t@name {String}\n\t@buffer {String, Stream, Buffer}\n\t@custom {String, Object} :: optional\n\t@fnCallback {Function} :: optional, params: @err {Error}, @id {Number}, @stat {Object}\n\t@change {String} :: optional, changelog\n\treturn {Number} :: file id\n*/\nstorage.insert(name, buffer, [custom], [fnCallback], [changelog]);\n\n// EXAMPLE:\n\nstorage.insert('logo.png', '/users/petersirka/desktop/logo.png', 'my custom data', function(err, id, stat) {\n\n\tconsole.log(id);\n\tconsole.log(stat);\n\n\t// stat.name        - file name\n\t// stat.extension   - file extension\n\t// stat.length      - file length\n\t// stat.type        - content type\n\t// stat.width       - picture width\n\t// stat.height      - picture height\n\t// stat.custom      - your custom value\n\t// stat.stamp       - date created ticks, new Date(stat.stamp)\n\n}, 'new logo');\n\n// OR\n\nvar id = storage.insert('logo.png', fs.createReadStream('/users/petersirka/desktop/logo.png'));\nconsole.log(id);\n\n// OR\n\nvar id = storage.insert('plaintext.txt', 'YW55IGNhcm5hbCBwbGVhc3VyZS4=');\nconsole.log(id);\n\n// OR\n\nvar id = storage.insert('plaintext.txt', new Buffer('YW55IGNhcm5hbCBwbGVhc3VyZS4=', 'base64'));\nconsole.log(id);\n\n// ================================================\n// FILESTORAGE UPDATE\n// ================================================\n\n/*\n\tUpdate a file\n\t@id {String or Number}\n\t@name {String}\n\t@buffer {String, Stream, Buffer}\n\t@custom {String, Object} :: optional\n\t@fnCallback {Function} :: optional, params: @err {Error}, @id {Number}, @stat {Object}\n\t@change {String} :: optional, changelog\n\treturn {Number}\n*/\nstorage.update(id, name, buffer, [custom], [fnCallback], [change]);\n\n// EXAMPLE:\n\nstorage.update(1, 'logo.jpg', '/users/petersirka/desktop/logo.jpg', function(err, id, stat) {\n\n\tconsole.log(id);\n\tconsole.log(stat);\n\n\t// stat.name        - file name\n\t// stat.extension   - file extension\n\t// stat.length      - file length\n\t// stat.type        - content type\n\t// stat.width       - picture width\n\t// stat.height      - picture height\n\t// stat.custom      - your custom value\n\t// stat.stamp       - date created ticks, new Date(stat.stamp)\n\n}, 'update logo');\n\n// OR\n\nstorage.update(1, 'plaintext.txt', new Buffer('YW55IGNhcm5hbCBwbGVhc3VyZS4=', 'base64'));\n\n/*\n\tUpdate a file\n\t@id {String or Number}\n\t@fnCallback {Function(err, header)} ---> MUST RETURN A NEW HEADER\n\t@change {String} :: optional, changelog\n\treturn {Number}\n*/\nstorage.update(id, fnCallback, [change]);\n\n// EXAMPLE:\n\nstorage.update(1, function(err, header) {\n\tif (err)\n\t\treturn;\n\theader.custom = 'SOME NEW VAUE';\n\treturn header;\n});\n\n// ================================================\n// FILESTORAGE REMOVE\n// ================================================\n\n/*\n\tRemove a file\n\t@id {String or Number}\n\t@fnCallback {Function} :: optional, params: @err {Error}\n\t@change {String} :: optional, changelog\n\treturn {FileStorage}\n*/\nstorage.remove(id, [fnCallback], [change]);\n\n// EXAMPLE:\n\nstorage.remove(1, function(err) {\n\n\t// your code here\n\n}, 'remove logo');\n\n// OR\n\nstorage.remove(1);\n\n// ================================================\n// FILESTORAGE STAT\n// ================================================\n\n/*\n\tA file information\n\t@id {String or Number}\n\t@fnCallback {Function} :: params: @err {Error}, @stat {Object}\n\treturn {FileStorage}\n*/\nstorage.stat(id, fnCallback);\n\n// EXAMPLE:\n\nstorage.stat(1, function(err, stat) {\n\n\t// stat.name        - file name\n\t// stat.extension   - file extension\n\t// stat.length      - file length\n\t// stat.type        - content type\n\t// stat.width       - picture width\n\t// stat.height      - picture height\n\t// stat.custom      - your custom value\n\t// stat.stamp       - date created ticks, new Date(stat.stamp)\n\n});\n\n// ================================================\n// FILESTORAGE READ\n// ================================================\n\n/*\n\tRead a file\n\t@id {String or Number}\n\t@fnCallback {Function} :: params: @err {Error}, @stream {ReadStream}, @stat {Object}\n\treturn {FileStorage}\n*/\nstorage.read(id, fnCallback);\n\n// EXAMPLE:\n\nstorage.read(1, function(err, stream, stat) {\n\n\t// stat.name        - file name\n\t// stat.extension   - file extension\n\t// stat.length      - file length\n\t// stat.type        - content type\n\t// stat.width       - picture width\n\t// stat.height      - picture height\n\t// stat.custom      - your custom value\n\t// stat.stamp       - date created ticks, new Date(stat.stamp)\n\n\t// stream.pipe(yourstream)\n\n});\n\n// ================================================\n// FILESTORAGE PIPE\n// ================================================\n\n/*\n\tPipe a stream to Stream or HttpResponse\n\t@id {String or Number}\n\t@req {HttpRequest} :: optional,\n\t@res {HttpResponse or Stream}\n\t@download {String or Boolean} :: optional, attachment - if string filename is download else if boolean filename will a stat.name\n\treturn {FileStorage}\n*/\nstorage.pipe(id, req, res, download);\n\n// EXAMPLE:\n\nstorage.pipe(1, request, response, true);\n\n// OR\n\nstorage.pipe(1, request, response, 'mynewlogo.jpg');\n\n// OR\n\nstorage.pipe(1, mystream);\n\n// ================================================\n// FILESTORAGE SEND\n// ================================================\n\n/*\n\tSend a file through HTTP\n\t@id {String or Number}\n\t@url {String}\n\t@fnCallback {Function} :: optional, params: @err {Error}, @response {String}\n\t@headers {Object} :: optional, additional headers\n\treturn {FileStorage}\n*/\nstorage.send(id, url, [fnCallback], [headers]);\n\n// EXAMPLE:\n\n// <form method=\"POST\" action=\"http://yoururladdress.com/upload/\" enctype=\"multipart/form-data\">\n// <input type=\"file\" name=\"File\" />\n\nstorage.send(1, 'http://yoururladdress.com/upload/', function(err, response) {\n\n\tif (!err)\n\t\tconsole.log(response);\n\n});\n\nstorage.send(1, 'http://yoururladdress.com/upload/');\n\n// ================================================\n// FILESTORAGE COPY\n// ================================================\n\n/*\n\tCopy file\n\t@id {String or Number}\n\t@directory {String}\n\t@fnCallback {Function} :: params: @err {Error}\n\t@name {String} :: optional, new filename\n\treturn {FileStorage}\n*/\nstorage.copy(id, directory, [fnCallback], [name]);\n\n// EXAMPLE:\n\nstorage.copy(1, '/users/petersirka/desktop/');\nstorage.copy(1, '/users/petersirka/desktop/', 'mynewlogofromstorage.jpg');\n\nstorage.copy(1, '/users/petersirka/desktop/', function(err) {\n\n});\n\n// ================================================\n// FILESTORAGE LISTING\n// ================================================\n\n/*\n\tGet all file names\n\t@fnCallback {Function} :: params: @err {Error}, @arr {String Array}\n\treturn {FileStorage}\n*/\nstorage.listing(fnCallback);\n\n// EXAMPLE:\n\nstorage.listing(function(err, arr) {\n\n\t// Array contains JSON strings (not parsed)\n\tconsole.log(arr);\n\n});\n\n// ================================================\n// +v1.7.0 FIND FILES\n// ================================================\n\nstorage.find(function(file) {\n\n\t/* Example of \"file\" object:\n\t{\n\t\tid: 5,\n\t\tstamp: 1509097785616,\n\t\tcustom: { 'license': true },\n\t\tlength: 13,\n\t\theight: 0,\n\t\twidth: 0,\n\t\ttype: 'text/plain',\n\t\textension: 'txt',\n\t\tname: 'test.txt'\n\t}\n\t*/\n\n\t// This method needs to return a Boolean value\n\t// \"true\" the file will be added in response list, \"false\" skips a file from the response\n\treturn file.custom && file.custom.license === true;\n}, function(err, response) {\n\t// response === Array of Files\n\tconsole.log(response);\n});\n\n// ================================================\n// FILESTORAGE CHANGELOG\n// ================================================\n\n/*\n\tRead the changelog\n\t@fnCallback {Function} :: params: @err {Error}, @changes {String Array}\n\treturn {FileStorage}\n*/\nstorage.changelog(fnCallback);\n\n// EXAMPLE:\n\nstorage.changelog(function(err, changes) {\n\tconsole.log(changes);\n});\n\n// HOW TO REMOVE CHANGELOG?\n\nstorage.remove('changelog');\n\n```\n\n```javascript\n\n// ================================================\n// FILESTORAGE PROPERTIES\n// ================================================\n\n// {String}, readonly\nstorage.path;\n\n// {Object}, readonly\nstorage.options;\n\n// ================================================\n// FILESTORAGE DELEGATES\n// ================================================\n\n//\n/*\n\tPrepare file before store in storage\n\t@filename {String} :: path to TEMPORARY FILE in a storage, this file will be replaced\n\t@stat {Object}\n\t@next {Function}\n*/\nstorage.onPrepare = function(filename, stat, next) {\n\n\t// stat.name        - file name\n\t// stat.extension   - file extension\n\t// stat.length      - file length\n\t// stat.type        - content type\n\t// stat.width       - picture width\n\t// stat.height      - picture height\n\t// stat.custom      - your custom value\n\n\tnext();\n};\n\n// ================================================\n// FILESTORAGE EVENTS\n// ================================================\n\nstorage.on('error', function(err) {\n\n});\n\nstorage.on('insert', function(id, stat) {\n\n});\n\nstorage.on('update', function(id, stat) {\n\n});\n\nstorage.on('remove', function(id) {\n\n});\n\nstorage.on('send', function(id, stat, url) {\n\n});\n\nstorage.on('copy', function(id, stat, stream, directory) {\n\n});\n\nstorage.on('read', function(id, stat, stream) {\n\n});\n\nstorage.on('pipe', function(id, stat, stream, req) {\n\n});\n\nstorage.on('listing', function(arr) {\n\n});\n\nstorage.on('changelog', function(arr) {\n\n});\n\n```\n***\n\n## The MIT License\n\nCopyright (c) 2012-2017 Peter Širka <petersirka@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Contact\n\n<https://www.totaljs.com> - <petersirka@gmail.com>\n","maintainers":[{"name":"petersirka","email":"petersirka@gmail.com"}],"time":{"modified":"2022-06-18T00:46:02.173Z","created":"2013-07-30T20:41:42.629Z","0.0.1":"2013-07-30T20:41:45.791Z","1.0.0":"2013-08-01T16:36:27.233Z","1.0.1":"2013-11-28T18:33:31.497Z","1.0.2":"2013-11-29T23:09:46.486Z","1.0.3":"2013-12-24T12:39:05.487Z","1.0.4":"2013-12-26T17:21:46.238Z","1.0.5":"2013-12-28T08:11:38.112Z","1.0.6":"2013-12-30T13:02:16.783Z","1.0.8":"2014-06-16T18:58:55.684Z","1.0.9":"2014-08-27T15:28:19.565Z","1.1.0":"2014-12-10T06:56:40.486Z","1.2.0":"2015-01-09T09:29:08.039Z","1.3.0":"2015-11-02T14:07:42.854Z","1.4.0":"2016-01-05T12:37:33.121Z","1.5.0":"2016-04-10T13:53:00.989Z","1.7.0":"2017-10-27T09:57:58.925Z","1.7.1-1":"2017-12-14T12:18:59.915Z","1.7.1-2":"2017-12-15T10:38:51.109Z","1.7.1":"2018-03-22T12:49:17.566Z"},"author":{"name":"Peter Širka"},"repository":{"type":"git","url":"git+https://github.com/petersirka/node-filestorage.git"},"homepage":"https://github.com/petersirka/node-filestorage#readme","keywords":["filestorage","storage","file","web","partial","express","stream","upload"],"bugs":{"url":"https://github.com/petersirka/node-filestorage/issues"},"readmeFilename":"README.md","users":{}}