{"_id":"@atom8/sftp-uploader","name":"@atom8/sftp-uploader","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@atom8/sftp-uploader","version":"0.0.1","description":"Plugin for uploading files to a specified server","keywords":["ssh2-sftp-client","ssh","sftp","uploader"],"homepage":"https://github.com/AtoMeight/atom-sftp-uploader","repository":{"type":"git","url":"git+https://github.com/AtoMeight/atom-sftp-uploader.git"},"license":"MIT","author":{"name":"zhiyingzhou"},"main":"dist/index.umd.js","module":"dist/index.es5.js","typings":"dist/types","scripts":{"prebuild":"rimraf dist","build":"tsc && rollup -c --bundleConfigAsCjs && rimraf compiled && typedoc --entryPoints src/index.ts --entryPointStrategy expand --out dist/docs --plugin typedoc-theme-hierarchy --theme hierarchy","start":"tsc -w & rollup -c -w --bundleConfigAsCjs","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"@types/ssh2-sftp-client":"^9.0.3","ssh2-sftp-client":"^10.0.3"},"devDependencies":{"@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.2.3","chokidar":"^3.6.0","npm-run-all":"^4.1.5","prettier":"^3.2.5","prettier-plugin-organize-imports":"^3.2.4","prettier-plugin-packagejson":"^2.4.12","rimraf":"^5.0.5","rollup":"^4.13.0","ts-node":"^10.9.2","typedoc":"^0.25.12","typedoc-theme-hierarchy":"^4.1.2","typescript":"^5.4.2"},"engines":{"node":">=18.0.0"},"gitHead":"15dfff168f44d85cba196a8acb2234b17e78f1e5","bugs":{"url":"https://github.com/AtoMeight/atom-sftp-uploader/issues"},"_id":"@atom8/sftp-uploader@0.0.1","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-0UiQ2GPTWsBVZLLqpqSlMBvfiyk/GQymgD4VqLhkHmTMANPELZLny6FflyKONpRVjoXVb5dawm3bjPG6jisTIA==","shasum":"3161e54e49e1bb49d3fe8af82aab4cff92091e7b","tarball":"https://registry.npmjs.org/@atom8/sftp-uploader/-/sftp-uploader-0.0.1.tgz","fileCount":25,"unpackedSize":169575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ChYW6lLcvpBeOCXHOY2KbmMgCXb61YTNrgaEmUWkRQIhALUb+JlawK9O5m6kapRmH1TLoneDItGw0Y2VbbGqGexm"}]},"_npmUser":{"name":"zhiyingzzhou","email":"zhiyingzzhou@gmail.com"},"directories":{},"maintainers":[{"name":"zhiyingzzhou","email":"zhiyingzzhou@gmail.com"},{"name":"zhiyingzhou-atom","email":"Zhiying.zhou@atom8-tech.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sftp-uploader_0.0.1_1729494381954_0.4735180688216727"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-21T07:06:21.827Z","0.0.1":"2024-10-21T07:06:22.200Z","modified":"2024-10-21T07:06:22.470Z"},"maintainers":[{"name":"zhiyingzzhou","email":"zhiyingzzhou@gmail.com"},{"name":"zhiyingzhou-atom","email":"Zhiying.zhou@atom8-tech.com"}],"description":"Plugin for uploading files to a specified server","homepage":"https://github.com/AtoMeight/atom-sftp-uploader","keywords":["ssh2-sftp-client","ssh","sftp","uploader"],"repository":{"type":"git","url":"git+https://github.com/AtoMeight/atom-sftp-uploader.git"},"author":{"name":"zhiyingzhou"},"bugs":{"url":"https://github.com/AtoMeight/atom-sftp-uploader/issues"},"license":"MIT","readme":"# @atom/sftp-uploader\n\n> Plugin for uploading files to a specified server\n\n## Install\n\n```sh\nnpm i @atom/sftp-uploader --save-dev\n```\n\n## Usage\n\n```js\nimport AtomSftpUploader from '@atom/sftp-uploader';\n// If you use CommonJS (i.e NodeJS environment), it should be:\n// const AtomSftpUploader = require('@atom/sftp-uploader');\n\nconst sftpUploader = new AtomSftpUploader({\n  host: 'your host',\n  port: 'your port',\n  username: 'your username',\n  password: 'your password',\n  from: 'you need upload file path',\n  to: 'you want to destination',\n});\nsftpUploader.start();\n```\n\n## Configuration\n\nThe plugin allowed values are as follows:\n\n- `port`: 服务器端口。\n- `host`: 服务器地址。\n- `username`: 服务器登陆用户名。\n- `password`: 服务器登陆密码。\n- `from`: 你需要上传的文件路径或者文件，其中对于文件，可以是文件路径的数组。\n- `to`: 服务器上的目标路径。\n\n## License\n\nMIT © zhiyingzhou\n","readmeFilename":"README.md"}