@vsmi/deploy
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

@vsmi/deploy

a simple library for deploy assets to disk or SFTP server

npm deps license build prs

GET STARTED

import { deploy } from '@vsmi/deploy';
(async () => {
    const remoteDir = "/opt/htdocs/www";
    const localDir = path.resolve(__dirname, "dist");
    await deploy({
        remoteDir,
        localDir,
        folder: "bbq",
        sftpConfig: {
            host: "127.0.0.1",
            username: "admin",
            password: "******",
        },
    });
})();

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i @vsmi/deploy

Weekly Downloads

21

Version

0.0.15

License

none

Unpacked Size

19.8 kB

Total Files

9

Last publish

Collaborators

  • ixw2017