savim-ftp
v1.1.298
Published
[![Test Coverage](https://api.codeclimate.com/v1/badges/1ceadff5f5ef77b2e8b6/test_coverage)](https://codeclimate.com/github/qlaffont/savim-ftp/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/1ceadff5f5ef77b2e8b6/maintainability)](
Downloads
687
Readme
savim-ftp
A simple library to save file with Savim to a FTP Server. Old Owner: @flexper
Usage
import { Savim } from 'savim';
import { SavimFTPProviderConfig, SavimFTPProvider } from 'savim-ftp';
const savim = new Savim();
await savim.addProvider<SavimFTPProviderConfig>(SavimFTPProvider, {
host: 'localhost',
user: 'test',
password: 'thisisapassword',
});
await savim.uploadFile('test.txt', 'thisisatest');
Tests
To execute jest tests (all errors, type integrity test)
pnpm test
Maintain
This package use TSdx. Please check documentation to update this package.