{"_id":"@uppy/server-utils","_rev":"2783746","name":"@uppy/server-utils","description":"Client library for communication with Uppy Server. Intended for use in Uppy plugins.","dist-tags":{"latest":"0.26.0"},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},{"name":"kvz","email":"kevin@vanzonneveld.net"},{"name":"mifi","email":""},{"name":"murderlon","email":""},{"name":"tim-kos","email":"tim@debuggable.com"}],"time":{"modified":"2022-06-13T06:10:17.000Z","created":"2018-06-28T15:12:52.088Z","0.26.0":"2018-06-28T15:12:52.088Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/transloadit/uppy.git"},"versions":{"0.26.0":{"name":"@uppy/server-utils","description":"Client library for communication with Uppy Server. Intended for use in Uppy plugins.","version":"0.26.0","license":"MIT","main":"lib/index.js","jsnext:main":"src/index.js","types":"types/index.d.ts","keywords":["file uploader","uppy","uppy-plugin","uppy-server","provider"],"homepage":"https://uppy.io","bugs":{"url":"https://github.com/transloadit/uppy/issues"},"repository":{"type":"git","url":"git+https://github.com/transloadit/uppy.git"},"dependencies":{"namespace-emitter":"^2.0.1"},"_id":"@uppy/server-utils@0.26.0","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"goto-bus-stop","email":"renee@kooi.me"},"dist":{"shasum":"b216cff7f9ac2a9a33446355d0eb7f6050129e06","size":6845,"noattachment":false,"key":"/@uppy/server-utils/-/@uppy/server-utils-0.26.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@uppy/server-utils/download/@uppy/server-utils-0.26.0.tgz"},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},{"name":"kvz","email":"kevin@vanzonneveld.net"},{"name":"mifi","email":""},{"name":"murderlon","email":""},{"name":"tim-kos","email":"tim@debuggable.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/server-utils_0.26.0_1530198771997_0.4483139964687275"},"_hasShrinkwrap":false,"publish_time":1530198772088,"_cnpm_publish_time":1530198772088,"_cnpmcore_publish_time":"2021-12-16T16:45:53.393Z"}},"readme":"# @uppy/server-utils\n\n<img src=\"https://uppy.io/images/logos/uppy-dog-head-arrow.svg\" width=\"120\" alt=\"Uppy logo: a superman puppy in a pink suit\" align=\"right\">\n\n<a href=\"https://www.npmjs.com/package/@uppy/server-utils\"><img src=\"https://img.shields.io/npm/v/@uppy/server-utils.svg?style=flat-square\"></a>\n<a href=\"https://travis-ci.org/transloadit/uppy\"><img src=\"https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square\" alt=\"Build Status\"></a>\n\nClient library for communication with Uppy Server. Intended for use in Uppy plugins.\n\nUppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.\n\n## Example\n\n```js\nconst Uppy = require('@uppy/core')\nconst { Provider, RequestClient, Socket } = require('@uppy/server-utils')\n\nconst uppy = Uppy()\n\nconst client = new RequestClient(uppy, { serverUrl: 'https://uppy.mywebsite.com/' })\nclient.get('/drive/list').then(() => {})\n\nconst provider = new Provider(uppy, {\n  serverUrl: 'https://uppy.mywebsite.com/',\n  provider: providerPluginInstance\n})\nprovider.checkAuth().then(() => {})\n\nconst socket = new Socket({ target: 'wss://uppy.mywebsite.com/' })\nsocket.on('progress', () => {})\n```\n\n## Installation\n\n> Unless you are writing a custom provider plugin, you do not need to install this.\n\n```bash\n$ npm install @uppy/server-utils --save\n```\n\n<!-- Undocumented currently\n## Documentation\n\nDocumentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/DOC_PAGE_HERE).\n-->\n\n## License\n\n[The MIT License](./LICENSE).\n","_attachments":{},"homepage":"https://uppy.io","bugs":{"url":"https://github.com/transloadit/uppy/issues"},"license":"MIT"}