{"_id":"@buttercup/secure-file-host","_rev":"7-89e08550dd6e1860ffacb41bcf82d053","name":"@buttercup/secure-file-host","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@buttercup/secure-file-host","version":"0.1.0","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","test":"nyc mocha -r test/index.js 'test/specs/**/*.spec.js' --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","supertest":"^3.3.0"},"gitHead":"8a09d5aa3cf77cf70dade109f91199abd4900948","_id":"@buttercup/secure-file-host@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-1TfVr7wtqOFNdIAVU6znTVqyy/LGU59+BJ6Y7CsCcTPzwwMZSWt+DZhqkTgVjQxX4B/+fPVTusMiVhtcLoMADw==","shasum":"c6a621d1118633bca045bc96f658248ee61360ec","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.1.0.tgz","fileCount":16,"unpackedSize":26403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb31HsCRA9TVsSAnZWagAAe+4P/1c+ycIPFyOF5UD5efWx\nrFWLOcJDQ9RNWQUDTviNs44snbd/BpM7y5MMH7tc1f0Fdm1MjNGMQ5zQ7KDa\nbWx6znXcyi074BzbBvnG8wRv2H/f8TnPCnKiVMyMuWty72xyAnOHlpJCOSOG\nwNjRc1rBZC222iDMwB7/1FEfpbb0uNzdr/AbaFbvMF4X18eO/bGvBO6Bpm2L\nkYEdqkELFbHASq6TqhiBTACLw/iCJcnsKbocfE+uWzX+WDIJQQQgrqQ0B6vQ\nsrl2VlHg202Fv+AGtOdtQUCeSW1bC+6myl5XWeiYkmywhyKlXY3bjUg7PtR+\np5aFwkSJpoMqMMAC5zOnDXcCqRiQ/szLXtogkDpzG0O9RjLIqRYLHZZhG/Nm\nSH2vvaY+bKwnfAa/H2bFK/5NVzISZ3obBxs/rmR7gCqWEp+I8TO8pC71RLft\nnboRlQ0pXN8je8v86ucYe9AdJfBz5dahrEhUxrq/fRrF0wqrs5zEYuxnZsTX\naCm5YZIC7tOr5faL63uwUYWBuZiQr8j7SJLrksmTGDl1SwgGRb+d/3FzMVL/\nuLr2Eb9oyUJCn+z0GTpA/SkTkzcjU6fX78T02NA306aQNh15zg2ziPD01nWm\nVNs4qkkJrx9vG9u764EGNG9ADCQUQr4wdtH1b1xisMW3ehKIFE1B83OmKi2u\n+noo\r\n=ex4Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBkQEmGn1XMxZrAG+BL36C98KpeCYzD9bhqFmshBY1IAiEAzJ8eHD0JOFcnu0tQ01UEkOJxYyVNgEGYQZDQavl2Hcg="}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.1.0_1541362155424_0.4144927110456873"},"_hasShrinkwrap":false},"0.1.1":{"name":"@buttercup/secure-file-host","version":"0.1.1","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","test":"nyc mocha -r test/index.js 'test/specs/**/*.spec.js' --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","supertest":"^3.3.0"},"gitHead":"f35d2daf743e694045059f0b008fe3e884b49b03","_id":"@buttercup/secure-file-host@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-uyfSF4tllMkNIyABF5FFLBP/4mkPzqXBR9svc6K9goc83lDJkvStmVTwcuNwQOLugjhFxF3TZaHHg9GVT9Mx6Q==","shasum":"bc063006c908d145092870281071b19be9d64e7e","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.1.1.tgz","fileCount":16,"unpackedSize":28114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EAZCRA9TVsSAnZWagAAO5YP/A+I7+kEIRF81KrXuvWQ\nnet+4IZpoqtn5BW5ZH+POEAkQewpzYfBhTMIQ79HAw6zPEej/qEPWLOt7VWs\nnEXmZYwTFsNu6aR3C/3IC5LFZYAUEmbn1MQIL/ynIz96YRthhOu9ZBY6JuN6\n0E2GJm1MvJy4sRZjkHM/An2N+cg8uj3o9YaqAkhY4HUr4Eib0JPt/WGDVuA/\nYQTiFcwcF+snxzqsTe9qHMaWJ6ff8S7/g4KkRKgeK7zX9tMI7AoOqGqsqtto\nZ7kSP5BQp7EJUb9XLBPDC7v8wFd37nj36vwUU53FuAuJDBp9hkotxbgdE2p3\nJlNsPgV31V9XAJf85uqm8AIFgzZQOODLtiGjbn2T25NzTgKr0WhuJjCqS24t\ndm4BruqjqDKT8NufMPjN3IEye/93nhKrpAzprIrIoGyLI7HNcM2K2KYjOzeG\n3gPX7wwS56mLTSYI+x7ZX78DHFd5xG7Z5MhUtnNy0UDi5RVMkx5Du9akkqA4\n34laKS3r9rgho/BM54JbM9bz5NJ6GjyHKDgyHHxWuE45LisTa+zAs5mnwzBX\nOEBp62C0LAmgNtR5GnhP5b5JTkQdYe8W27+X0p3xNHYFIjTJpfOcS+FSGWFr\nfQP2/u/e8JkDGfcilFmsouXYtKwivQMjLir6H2tdgdxma6q8/rPirunatOvj\nG7Bd\r\n=pDAZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHgbhmu3ajEsQlzAK4EBB/cinYeg+P2ox0lwuxIlLovQIhAKxAvzM0QmCSlmDBkOXNyJ5W1NRKCKOwIoS0WMc7LDYx"}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.1.1_1542209560265_0.7451699717695006"},"_hasShrinkwrap":false},"0.1.2":{"name":"@buttercup/secure-file-host","version":"0.1.2","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","test":"nyc mocha -r test/index.js 'test/specs/**/*.spec.js' --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","supertest":"^3.3.0"},"gitHead":"adc81426c2d4ab222cc3c94ab47137520ad17687","_id":"@buttercup/secure-file-host@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-DtSU92H5pJUkLC2s/PAkoh+pqa2pYD9Mdki4eY9n6LEZU8BQAA1BpdOCw2wvdFuPPmoWePjjeuGYPWtADJJYEQ==","shasum":"aeec7aa39c001cdd6292b5a6aa7fad7c6139cbf6","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.1.2.tgz","fileCount":16,"unpackedSize":28643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EIBCRA9TVsSAnZWagAAh5EP/36mIwbmUR9Vr4GciOTJ\n+nQ6KERIs/CPq21ltbPijROh+qCF7140r4g5Lfypcx8zwGiCPaGgjU7dy4Nj\nzWKr+BlGBYoV8rd4JKhq03Z8mQhnzB7acaWCwRSC+xUi7q/dZXFZ+LtxeZyI\n3IdBdMIMFxT3Gc0iRRtOloErhyXs7uoGWGnwDEVwIh5HP42eSRLtY2ST8vcJ\nxpzQrqMfk7NKwXtDd4QY+HZzJS9MKVBKjFumcEQqcUQyFlDWOyxIifmCCbbo\nmXNmGTNBUcL+BTyH0m4Hx+vhKO+Cb0AMyERGN7LYoUGV6fBar5adWYdh0nXd\n9R9ntmz2DrmaK4fdK0lrmDZCzIx2cTlGsvyC9HNsTYYHlr4iAdB1zOmJS9so\nqUTr7L4j3jD5AyDtcdVjLiFJjmmnxlrrLlCEXCQNyBLNAC/jsg/n3rzaiHkN\nfbez0D8wyHKNbszrG5iY/hP38d19xeu9DJUmoyK8qPmivYae6delDq5m4BMj\nAd+8AcrNTo01NF/PH0InV394Gwsb8YV24jBWkJymv6rz16d2fHRANERM8oH1\nrvYk+VsehOeoyY0dBvlFlYO4FgIoNQfJipquq6XPvsz/7Kzvvn9YV++s+fxy\nZ4IPLJeHES5hIR9zHlq0WMn+gBRHeFbYgZvJEOQgYaOyI252k8UB/8LBQNKr\nF4yK\r\n=EWJe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEG2FJvT5ubNYG2+52X/v8T1OWX9HWYIbCgwaUVx0okgIhAI13/9LJebkJWO/rw+VavyeVCI51Sgj3lVhR7SY3RziY"}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.1.2_1542210049161_0.7868140808511457"},"_hasShrinkwrap":false},"0.1.3":{"name":"@buttercup/secure-file-host","version":"0.1.3","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","test":"nyc mocha -r test/index.js 'test/specs/**/*.spec.js' --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","rimraf":"^2.6.2","supertest":"^3.3.0"},"gitHead":"914a5fac0ab3fa859e2308ded2b4d0b691c047f0","_id":"@buttercup/secure-file-host@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-h61m4kX7SyV12fTOoi9ZvdtyBc5LhALU+m7UqR8Hu0xnex6zlcCdadde8I8gOp4Jio6icccwUs2gABe+D0HX9Q==","shasum":"e9c4fcbe64e273b833a4b024c87bae7db015b42e","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.1.3.tgz","fileCount":16,"unpackedSize":31335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EgDCRA9TVsSAnZWagAAqpcP/2ou1E978/MIxkUcsFFt\nfN2K0UcDXIubzrTNSYoNwLTBmxlFQF5c6fq9C884/5rToAhqN+vd6s7Sf9MV\nR2+/J8ouyx21JmVtode1WAMtQzHALMgG4bbOZ74uGzIuZzxyxHnc4lyiY+DL\nOdeCh2sKEkHm5F80M94Ll1MleSdm1g59m6OjYGBI5XW1H6muPJWoUAK9cIWd\nnViDWVF0FtvGljT8an4BO8o+dSjRDWHp3qLLfv/vpn1dLP1dGf+pF/o2tAGc\nOFg9gX1anFnlBPtMURcbLzhtMCfWxRVBe1JDCjjf1IK9uoSh28Poqt6U7AoT\nz32ByjZzYDg7F1NPo/GhfrM70h9pGASaeWDwi5+0FTq6YG519Bp464aOgsvC\nhvsM5/4p/EgbGpjTOqShI/Y3xrvHw3AwVu3ycYD24TfnAJgvZWTDpSNL7fn6\n6OAuaJLx14OTO5V2LsmwikTjtcSEvwXW7TGe4uFmQ5ThMZsy076sVDRFyLTR\ncSkJKXV9B9kDbcrClmyU0f/xby0P1taquqLVZzdUD9JxWxfd36TdwF2XHxc1\nUryu4hXV8ShHPCOUp53qwLee77LZWgAEDZKmKig59TNRHZPOfbZStgwCPN6y\nkG8FLJRNeS+PjeMKI8gjFG/PZeX8AI97AiZKuUq93ENjHtKpeM6vn7J93ySr\nVb0b\r\n=jzSu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZRu52MAfUgOyugNJ9WKE3keNvUnizFBY9KB0sMmz4SQIhANLhhqo3aCTYCiY6cwvh1xRtaFNhKmhvolnF2P6pJJwH"}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.1.3_1542211586502_0.6926106636911669"},"_hasShrinkwrap":false},"0.2.0":{"name":"@buttercup/secure-file-host","version":"0.2.0","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","test":"nyc mocha -r test/index.js 'test/specs/**/*.spec.js' --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","rimraf":"^2.6.2","supertest":"^3.3.0"},"gitHead":"6a9adb3f69ab2a2bb13ef1f10812c0fcc74a0275","_id":"@buttercup/secure-file-host@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-bP3g23yEg9giJY6JWLOPNvVswRnP/Xg50wHUMSEcBNRbFQo843u1+2btzK6ZtYKdmD5c17pjDqEBIZ8BTF3Ddw==","shasum":"203452fe66eb04a86fde0b6046116b75cc05c472","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.2.0.tgz","fileCount":17,"unpackedSize":31594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8xk0CRA9TVsSAnZWagAAJJMP/jJMIL65mkCHpXSPX+IX\nQ0tns8UvgdCp1OztwmrXnzaYLYcwz64U6//rYonbXuGQdlgGADTT1wCoiVB/\nNun3rn1KwPn7F8PpMN9qEi9F4VWrXMTGou7OOldmo3jbo1QK8OR0DbZ0gzYJ\nKZixBZ4Z58A+yQhdSr8TXRR4ldjX+wuMXdD1Y4xOm0QWDcyYyRjprAAzHs3E\n93wwgv6mQsQklYLf/bna+hL2ynv9t/Fm6f9DzMXH7CPKxXvqo4Dm1mqynUrL\nQc11bzZmJgZKD20j0XdxJ6E9Mmtr8T2I4iVK4+dO94yII5iFsmEBTTRzlb+f\n/DfeRdqaI2zhexrL9tjKOEdpCv96f2BqXQiVUL6C+/X/b2nNWd2hz7o2e1qF\n555TIa9pRwPVpC2sxwTkTiAWgmOXXeTVM1fw7z40WIoW0hlu9Mj4+HCszrT9\nTKqrGVkxWerTcNZio1Rh93z6av4ZcNkxI9SxBX1uKhrtEuQi1Y8wZyWZPs4S\nUvkZzMLkvjNfy8ITjeYP77BovkNPSMaQqNcmRnQipayHtuCgqr/flHYE7hwD\nOyXqKcwvof5O95pBEfz3eJRRsxmC5rtEE9WwkItZIeRbGadJcaBi5+fDO1Kt\nW1qc5vEKsPoLDtawwdgMxcYeNLb7MgLyN19QHYbZPc4D68p08i188MiIHBRa\nby8P\r\n=+FSP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaPZcEEuj7LFo+8A/el9GI52AwC+OJSpxW2qtXMXGc3AiAYLNyRGO5V8rJZN1YDn1TOQN4ASDLCCKcxZ4S75X+Baw=="}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.2.0_1542658355593_0.2154634106249247"},"_hasShrinkwrap":false},"0.2.1":{"name":"@buttercup/secure-file-host","version":"0.2.1","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","start":"node test/standalone.js","test":"nyc mocha -r test/index.js --recursive test/specs/*.spec.js --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.18.3","eventemitter3":"^3.1.0","express":"^4.16.4","home-dir":"^1.0.0","iocane":"^1.0.2","pify":"^4.0.1"},"devDependencies":{"chai":"^4.2.0","chalk":"^2.4.1","jsdoc-to-markdown":"^4.0.1","mocha":"^5.2.0","nyc":"^13.1.0","rimraf":"^2.6.2","supertest":"^3.3.0"},"gitHead":"25c308f3f60546266bc1f782fba35a3bfded7b62","_id":"@buttercup/secure-file-host@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"dist":{"integrity":"sha512-quUKneY8M8kyr1aeVRmAi5gOEJMzlnaw9W72nx16deXaNGJ6fGWxXWc5R+kaC43vyFw9QnxCF0DcqNLu4602cQ==","shasum":"781ef7dbc59454275e74bebbf16f381bde3e3a5e","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.2.1.tgz","fileCount":18,"unpackedSize":33892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+WHBCRA9TVsSAnZWagAA7CoQAIRhi5sdUYDSpDzqZUZz\nzO1xK5T6dJNO0ONo2kN/y1AO42iepB+VEaPeEIGdTCHRwX7SiRpY8l62h6b6\nq0FtgjXU5LbGh9maqrQo0Kg2L/fUr7pgofoZzoY5Xhi/PMfZA+xKvum0i/Co\ngGvVqMvcc2HPfMO/Q/FHcBi+vufRbpFyu6G0xMb2WFFpPnPGG/anEDLNJBR1\nbdfUhgVzQaTGKVCxHRquv0XO/qT6XtCyAEvmRaoECHMfNq24HVT7mQGI8Ym4\nOCRriZNRmVMqTmX/rCuxHMCGa4qTQBLPy1KzjiCwUgUbXZEJPzqRvnItfKc7\n7Q3xLWzqmquFj/gIXaZwDQQqCXRQpyctLY7jUuxEVykH23eXuJ8vfvfj9i2e\nEuaBQsrVwu/PAPiewiKjvOTxGtC1fhdwwuZQemKvthMG0uVXJIpI9VzkHUJ5\njL+WG9HfyT+2gz3xhO/CoW8+LsbrIRih5qXg/Flzi4vuGJUhrs+xIAgfeNha\nzTCOUk9sQoP92oHFwpxIgYNKTTknWsW541Tu7j8eZzJexf5aW5M6MY1zSc33\nFRzVCXdmRvuGAWyzrEkopHOHwmMi/As5BmgVICcITA860JoGcgmeyRy7KHNA\nQu87cHLWsLUtbMqM1B70enQq7qxxRA32uc787I+sFutqnZMbKDEHjcd7ujL+\nN+wT\r\n=xTEB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbenriJLxZuuZ64xQWeIFwU9ZXtVrxqeD5j0XC3ZtB4QIgJeAuJrLGPFzEl7qlouUcVTFKJGzkqkZwaZBlUZZBT34="}]},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.2.1_1543070144236_0.39329303598407317"},"_hasShrinkwrap":false},"0.3.0":{"name":"@buttercup/secure-file-host","version":"0.3.0","description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","main":"source/index.js","scripts":{"docs":"jsdoc2md source/**/*.js > API.md","start":"node test/standalone.js","test":"nyc mocha -r test/index.js --recursive test/specs/*.spec.js --timeout 5000"},"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"keywords":["filesystem","buttercup","host","datasource"],"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"license":"MIT","bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"homepage":"https://github.com/buttercup/secure-file-host#readme","dependencies":{"body-parser":"^1.19.0","eventemitter3":"^4.0.7","express":"^4.17.1","home-dir":"^1.0.0","iocane":"^4.2.0","pify":"^5.0.0"},"devDependencies":{"chai":"^4.3.3","chalk":"^4.1.0","jsdoc-to-markdown":"^7.0.0","mocha":"^8.3.1","nyc":"^15.1.0","rimraf":"^3.0.2","supertest":"^6.1.3"},"gitHead":"a1a8a7dd5ce2bdcb1814fe31495a1a8a51a16f20","_id":"@buttercup/secure-file-host@0.3.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-DosDhp7zbi0tRBYfgDKkWYAJad7xBfXEDIuFQRbSiT5CQPbR7AnLifA9H1chl1Ond5Y93iOoqAzabHK6eMVzYA==","shasum":"d4c6799395c9df65c27e3e9c57debbcf26664eca","tarball":"https://registry.npmjs.org/@buttercup/secure-file-host/-/secure-file-host-0.3.0.tgz","fileCount":18,"unpackedSize":33854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR9TwCRA9TVsSAnZWagAAsMgP/3IE+5fDMqgQSYLKwFmj\nyzv+Wgx578rMimX3IS5ns69HHIJefmkCONFhlpOLM1+EywepCAhHCPeahcYm\nPUmEwNzF21662ZnmdDGYNBNf8HcuTNZZD/iIAcuoO4F8N2blKxc/Wy60+50C\nkpb+B62SbVxahe4X8sxe3Ryza9iR1CavR/1H/SksnPEBy3hPyNlEtBYQ6wMY\nap7R2LaEUHtMx2whw3tzPJBJZiiGXPPsXGo3pi0oM7J0UBXRm1eV2KW05VDM\npdwjuPWNy66cj2TDi1XHKERUjrQh4gfytDGOqqgRFUC9JtwWjP7Qzes7tR74\ngroM+ai2dHKYSa5EUFvrYA5YM5pl8olTdh7gzkzva6DVsgEpn2na5J/GExr5\nrbS9R2Rqeve6CKoDaqm8GUoPjO371qYJ6+eh5eZYhoVDuO38WPJWF2X3hkHU\n35j4T7aPcBaldRRq1FGNS8WysNWii/r/wHeML/4NK1DjJzZQJjkwVcCsi4ED\n7dvOnQyR6O3ywgu9d/6TxS83ZZZVfB6MBv/PEp9ka4AlvjygzhaZ7y2mHeCb\n3cEZwD39zJN8a0o1joeDgXKza+GqOgjUkq7Am78SvluEefRUVzOUqrreZcEf\nGzGfQOdFxDlBu5uX3nBSlGo4olQHqd0xZ1/2AdA6qj6rBG6q0gik0GeLjXrR\nduWS\r\n=/69Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHcNmkxappFDMFAZ6FWt3dokUFu5v2F9UgOr1ACZaNUBAiABqSvqoLCJoRi9MHtMLByMUCRqfG79c98TdJtiqezOSg=="}]},"_npmUser":{"name":"perrymitchell","email":"perry@perrymitchell.net"},"directories":{},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/secure-file-host_0.3.0_1615320303544_0.9317870989939414"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-04T20:09:15.307Z","0.1.0":"2018-11-04T20:09:15.551Z","modified":"2022-04-04T21:10:16.914Z","0.1.1":"2018-11-14T15:32:40.403Z","0.1.2":"2018-11-14T15:40:49.278Z","0.1.3":"2018-11-14T16:06:26.619Z","0.2.0":"2018-11-19T20:12:35.706Z","0.2.1":"2018-11-24T14:35:44.387Z","0.3.0":"2021-03-09T20:05:03.745Z"},"maintainers":[{"name":"perrymitchell","email":"perry@perrymitchell.net"},{"name":"sallar","email":"sallar.kaboli@gmail.com"}],"description":"Secure filesystem host toolkit for Browser-Desktop datasource connection","homepage":"https://github.com/buttercup/secure-file-host#readme","keywords":["filesystem","buttercup","host","datasource"],"repository":{"type":"git","url":"git+https://github.com/buttercup/secure-file-host.git"},"author":{"name":"Perry Mitchell","email":"perry@perrymitchell.net"},"bugs":{"url":"https://github.com/buttercup/secure-file-host/issues"},"license":"MIT","readme":"# Secure File Host\n> Filesystem host toolkit for Browser-Desktop datasource connections\n\n[![Build Status](https://travis-ci.org/buttercup/secure-file-host.svg?branch=master)](https://travis-ci.org/buttercup/secure-file-host)\n\n## About\n\nThis library provides an **event emitter** and an **Express application** for use with the [Buttercup Desktop application](https://github.com/buttercup/buttercup-desktop) - It's designed to provide an interface for [Browser extension](https://github.com/buttercup/buttercup-browser-extension) users to connect on for reading and writing vault files on the local system.\n\nSome users may not want to have their vault files synchronised via a cloud storage service, and this tool is designed to allow them to read files on their PC without the need for connecting to external services.\n\n## Installation\n\nSimply run `npm install @buttercup/secure-file-host --save` to install.\n\nThis library is only designed to work with Node JS.\n\n## Usage\n\nCreate and run an express server:\n\n```javascript\nconst { startFileHost } = require(\"@buttercup/secure-file-host\");\n\nconst host = startFileHost(9998);\n// host.key is the encryption key\n```\n\n_In this example, the browser can connect to the file host service on port `9998`._\n\nFor repeated use, you may want to provide your own key:\n\n```javascript\nstartFileHost(9998, \"some-encryption-key\");\n```\n\nYou can stop the service when closing the application:\n\n```javascript\nconst host = startFileHost(9998);\n\n// later\nhost.stop();\n```\n\nIf a user wants to cancel the handskahe procedure, make sure to call the `host.cancel()` method to prevent a deadlock.\n\nMore details available in the [API documentation](API.md)\n\n### Debugging\n\nYou can run a debug server that uses the host by running `npm start`. You can stop the server by pressing `Ctrl+C`.\n\n### Emitted events\n\nThe returned `host` object contains an `emitter` property, which is an event emitter instance. It emits the following events:\n\n| Event Slug    | Schedule               | Description                                               |\n|---------------|------------------------|-----------------------------------------------------------|\n| `codeReady`   | On client connect      | A client has connected and is awaiting a code to be presented so that the **user** can enter it in the other application's interface. |\n| `connectionAvailabilityChanged` | When the status of the host in terms of it accepting new connections changes | Called with an object like `{ available: true }` when the availability of the host changes. It will be fired with `{ available: false }` when someone is trying to connect, and it will stay unavailable until it is either connected or cancelled. If a wrong code is attempted it will stay unavailable for a further 15 seconds. |\n| `connected`   |  When connection and handshake procedures have been completed | When the entire handshake procedure has been completed successfully the `connected` event is fired with no arguments. |\n| `connectionFailed` | When an incorrect code is entered | Fired when a client tries to use an incorrect code. |\n","readmeFilename":"README.md"}