{"analyzedAt":"2022-06-26T16:40:36.016Z","collected":{"metadata":{"name":"scp","scope":"unscoped","version":"0.0.3","description":"remote file copy wrapper","date":"2013-05-31T18:57:50.169Z","author":{"name":"Cam Pedersen","email":"diffference@gmail.com","url":"http://campedersen.com/","username":"ecto"},"publisher":{"username":"ecto","email":"diffference@gmail.com"},"maintainers":[{"username":"ecto","email":"diffference@gmail.com"}],"contributors":[{"name":"Gabriel Preston","email":"gpreston@gmail.com","url":"http://www.morethanawesome.com/"},{"name":"Alex Weidmann","email":"alex@twinsoftech.com"},{"name":"Ben Evans","email":"ben@bensbit.co.uk"},{"name":"Gabriel Preston","email":"gpreston@gmail.com"},{"name":"Joseph Silvestre","email":"joseph.silvestre38@gmail.com"},{"name":"appr","email":"appr@appr.me"}],"repository":{"type":"git","url":"git://github.com/ecto/node-scp.git"},"links":{"npm":"https://www.npmjs.com/package/scp","homepage":"https://github.com/ecto/node-scp#readme","repository":"https://github.com/ecto/node-scp","bugs":"https://github.com/ecto/node-scp/issues"},"releases":[{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2020-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0}],"readme":"# node-scp\n\nSCP (secure file copy) wrapper for node.js\n\n![scp](http://i.imgur.com/RrUKV.gif)\n\n##install\n\n    npm install scp\n\n##usage\n\n````javascript\nvar scp = require('scp');\n\nvar options = {\n  file: 'dump.sql'\n  host: 'myServer',\n  path: '~'\n}\n\nscp.send(options, function (err) {\n  if (err) console.log(err);\n  else console.log('File transferred.');\n});\n````\n\n##methods\n\n###scp.send(options, cb)\n\nSend a file to a remote host (in your `~/.ssh/config`)\n\nYou must pass in `options`. A `cb` function is optional, and will be passed `err`, `stdout`, and `stderr`.\n\nThere are currently 3 options:\n\n````javascript\nscp.send({\n  file: './file.txt', // local file to send\n  host: 'myServer',   // remote host to copy to, set up in your ~/.ssh/config\n  path: '~'           // remote path to save to (this would result in a ~/file.txt on myServer)\n});\n````\n\n###scp.get(options, cb)\n\nTransfer a file from a remote host (in your `~/.ssh/config`) to the current computer.\n\nYou must pass in `options`. A `cb` function is optional, and will be passed `err`, `stdout`, and `stderr`.\n\nThere are currently 3 options:\n\n````javascript\nscp.get({\n  file: '~/file.txt', // remote file to grab\n  host: 'myServer',   // remote host to transfer from, set up in your ~/.ssh/config\n  path: '~'           // local path to save to (this would result in a ~/file.txt on the local machine)\n});\n````\n\n## license\n\n(The MIT License)\n\nCopyright (c) 2011 Cam Pedersen <cam@onswipe.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."},"npm":{"downloads":[{"from":"2022-06-25T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":17},{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":903},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":3662},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":12546},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":26977},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":53935}],"starsCount":3},"github":{"starsCount":73,"forksCount":25,"subscribersCount":6,"issues":{"count":29,"openCount":13,"distribution":{"3600":5,"10800":1,"32400":1,"97200":1,"291600":1,"874800":1,"2624400":0,"7873200":0,"23619600":1,"70858800":2,"212576400":16},"isDisabled":false},"contributors":[{"username":"bencevans","commitsCount":1},{"username":"gabrielpreston","commitsCount":2},{"username":"apprme","commitsCount":1},{"username":"ecto","commitsCount":14},{"username":"udondan","commitsCount":1},{"username":"jsilvestre","commitsCount":2},{"username":"effektz","commitsCount":1}],"commits":[{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":0,"testsSize":287}}},"evaluation":{"quality":{"carefulness":0,"tests":0.21525,"health":1,"branding":0},"popularity":{"communityInterest":114,"downloadsCount":4182,"downloadsAcceleration":-5.8988394216133955,"dependentsCount":0},"maintenance":{"releasesFrequency":0,"commitsFrequency":0,"openIssues":0.5862068965517242,"issuesDistribution":0}},"score":{"final":0.3338829794310957,"detail":{"quality":0.40648504960996734,"popularity":0.10977938537732096,"maintenance":0.49575622761726623}}}