savim-local
v1.1.376
Published
[![Test Coverage](https://api.codeclimate.com/v1/badges/6578843ddab3ca0a2cff/test_coverage)](https://codeclimate.com/github/qlaffont/savim-local/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/6578843ddab3ca0a2cff/maintainability)
Downloads
998
Readme
savim-local
A simple library to save file with Savim in local. Old Owner: @flexper
Usage
import { Savim } from 'savim';
import { SavimLocalProviderConfig, SavimLocalProvider } from 'savim-local';
const savim = new Savim();
await savim.addProvider<SavimLocalProviderConfig>(
SavimLocalProvider,
{ rootFolderPath: __dirname },
);
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.