1.0.0 • Published 1 year ago

savim-local-bun v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

savim-local-bun

A simple library to save file with Savim in local (Bun version)

Usage

import { Savim } from 'savim';
import { SavimLocalProviderConfig, SavimLocalProvider } from 'savim-local-bun';

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)

bun test

Maintain

This package use TSdx. Please check documentation to update this package.

1.0.0

1 year ago