{"_id":"@augmt/file-metadata-microservice","_rev":"8-9b7d109036e2a515bcf3e87d5d61537c","name":"@augmt/file-metadata-microservice","description":"File Metadata Microservice","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.4":{"name":"@augmt/file-metadata-microservice","version":"0.2.4","description":"File Metadata Microservice","license":"MIT","author":{"name":"Hector Garcia","email":"soseinhg3@gmail.com"},"main":"lib/app.js","repository":{"type":"git","url":"git+https://github.com/augmt/file-metadata-microservice.git"},"scripts":{"build":"babel src -d lib","publish":"npm run build","test":"tape -r babel-register test/test.js"},"dependencies":{"koa":"2.0.0-alpha.7","koa-multer":"1.0.0","koa-router":"7.0.1"},"devDependencies":{"babel-cli":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-register":"^6.16.3","chai":"^3.5.0","supertest":"^2.0.0","tape":"^4.6.2"},"gitHead":"548e0bc9f9948315f2fdd966d62120041277a6e5","bugs":{"url":"https://github.com/augmt/file-metadata-microservice/issues"},"homepage":"https://github.com/augmt/file-metadata-microservice#readme","_id":"@augmt/file-metadata-microservice@0.2.4","_shasum":"790abca3f4a355b9f37869f8fb39be9d4e6ccfa2","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"augmt","email":"soseinhg3@gmail.com"},"dist":{"shasum":"790abca3f4a355b9f37869f8fb39be9d4e6ccfa2","tarball":"https://registry.npmjs.org/@augmt/file-metadata-microservice/-/file-metadata-microservice-0.2.4.tgz","integrity":"sha512-Oe0DjWLB627clkMFY+kl6OCc8ubrkWKqsfxIFQ1IDYaWprr/HxzAQyrCzyyDEmAByXk0ozorbGnNo6aVdfgPnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAokJELxIze3Wzj9/U0Z1tR5QyTFrFVzilQ0EjSbKlQGAiBDIiLOd0bRWb96p+rzKFZn8CEqbtKJrJ8YfjRp3QVrAg=="}]},"maintainers":[{"name":"augmt","email":"soseinhg3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/file-metadata-microservice-0.2.4.tgz_1475381516269_0.5336672517005354"}},"0.2.6":{"name":"@augmt/file-metadata-microservice","version":"0.2.6","description":"File Metadata Microservice","license":"MIT","author":{"name":"Hector Garcia","email":"soseinhg3@gmail.com"},"main":"lib/app.js","repository":{"type":"git","url":"git+https://github.com/augmt/file-metadata-microservice.git"},"scripts":{"build":"babel src -d lib","prepublish":"npm run build","test":"tape -r babel-register test/test.js"},"dependencies":{"koa":"2.0.0-alpha.7","koa-multer":"1.0.0","koa-router":"7.0.1"},"devDependencies":{"babel-cli":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-register":"^6.16.3","chai":"^3.5.0","supertest":"^2.0.0","tape":"^4.6.2"},"gitHead":"d53b9ccda7cb1ab5d569b34fd81fe852ef1bc02e","bugs":{"url":"https://github.com/augmt/file-metadata-microservice/issues"},"homepage":"https://github.com/augmt/file-metadata-microservice#readme","_id":"@augmt/file-metadata-microservice@0.2.6","_shasum":"ac091cc84d8af66181582467d232f73d070ef3bf","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"augmt","email":"soseinhg3@gmail.com"},"dist":{"shasum":"ac091cc84d8af66181582467d232f73d070ef3bf","tarball":"https://registry.npmjs.org/@augmt/file-metadata-microservice/-/file-metadata-microservice-0.2.6.tgz","integrity":"sha512-eP4ZTnIPSGf9j3JDOYCTEnPENXcBNTEhzEOlzm8+Ma80Awcq3VNV8uRNTaufkTKFEb8ZMbd7V4XZcu2Aa8GA+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLgIcMxlCwv92KCR1rNVFPt/lq4nEkUYPNDtFdF/YE6AIhAJMH2t20WjuYkis0zgYsxSohMEdkkyDdX28HdBi1Z4Vz"}]},"maintainers":[{"name":"augmt","email":"soseinhg3@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/file-metadata-microservice-0.2.6.tgz_1475982184091_0.2606682376936078"}},"0.3.0":{"name":"@augmt/file-metadata-microservice","version":"0.3.0","description":"File Metadata Microservice","license":"MIT","author":{"name":"Hector Garcia","email":"soseinhg3@gmail.com"},"files":["app.js"],"main":"app.js","repository":{"type":"git","url":"git+https://github.com/augmt/file-metadata-microservice.git"},"scripts":{"test":"tape \"test/**/*.js\""},"dependencies":{"koa":"2.3.0","koa-body":"2.3.0","koa-router":"7.2.1"},"devDependencies":{"supertest":"^3.0.0","tape":"^4.8.0"},"gitHead":"657630b136d3717693f074478529b2a5e3699d30","bugs":{"url":"https://github.com/augmt/file-metadata-microservice/issues"},"homepage":"https://github.com/augmt/file-metadata-microservice#readme","_id":"@augmt/file-metadata-microservice@0.3.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.0","_npmUser":{"name":"augmt","email":"soseinhg3@gmail.com"},"dist":{"integrity":"sha512-ZVem48FV7+SW8KBFmh/6PaYk0S+GA+9TgzC9w/mpCdtMEL/+y71D8gcV0WzXVpMgkLOkJ0ETmcgYFlBEIGjLlg==","shasum":"651aaad1db396cf67fd8e7f4777e74a72c4ce04c","tarball":"https://registry.npmjs.org/@augmt/file-metadata-microservice/-/file-metadata-microservice-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICsETPF4gixD/hyvfILX9IbbxNRtw7h49DB3A+G2BvNtAiEAxbRKxsPBG0llyWsXGnG78TEZKGlvVQfP5uCuqQOyT7U="}]},"maintainers":[{"name":"augmt","email":"soseinhg3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-metadata-microservice-0.3.0.tgz_1503866040281_0.2644689029548317"}}},"readme":"# File Metadata Microservice\n\nGet the size of a file in bytes.\n\n## How it Works\n\nThis microservice uses [koa-body][1] to parse binary data and [Koa][2] and\n[koa-router][3] to serve requests.\n\n[1]: https://github.com/dlau/koa-body\n[2]: http://koajs.com/\n[3]: https://github.com/alexmingoia/koa-router\n\n## How to Use\n\n`app.js` exports a Koa app. Koa apps have an [`app.listen()`][4] method that is\nidentical to Node's [http.Server.listen()][5].\n\nImport `app.js` and call `app.listen()` to start up the microservice.\n\n[4]: http://koajs.com/#app-listen-\n[5]: https://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback\n\n## API Resources\n\n### POST /\n\nReturns an object containing the data's size in bytes.\n\n#### REQUEST\n\n__Sample__: `https://file-metadata-microservice.example.com/`\n\n__Content-Type__: `multipart/form-data`\n\n__Request__:\n\n    ------WebKitFormBoundary7fkjhx85BAWpokZH\n    Content-Disposition: form-data; name=\"file\"; filename=\"blob\"\n    Content-Type: text/plain\n\n\n    ------WebKitFormBoundary7fkjhx85BAWpokZH--\n\n#### RESPONSE\n\n__Status__: 200 - `application/json`\n\n__Response__:\n\n    {\n      \"filesize\": 1149\n    }\n","maintainers":[{"name":"augmt","email":"soseinhg3@gmail.com"}],"time":{"modified":"2022-06-12T14:51:44.295Z","created":"2016-10-02T04:11:57.626Z","0.2.4":"2016-10-02T04:11:57.626Z","0.2.5":"2016-10-09T02:48:20.004Z","0.2.6":"2016-10-09T03:03:04.743Z","0.3.0":"2017-08-27T20:34:01.277Z"},"homepage":"https://github.com/augmt/file-metadata-microservice#readme","repository":{"type":"git","url":"git+https://github.com/augmt/file-metadata-microservice.git"},"author":{"name":"Hector Garcia","email":"soseinhg3@gmail.com"},"bugs":{"url":"https://github.com/augmt/file-metadata-microservice/issues"},"license":"MIT","readmeFilename":"README.md"}