
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
[](https://codeclimate.com/github/qlaffont/savim/test_coverage) [](http
A simple library to send email cross providers. Old Owner: @flexper
import { Savim } from 'savim';
const savim = new Savim();
await savim.addProvider<SavimSampleProviderConfig>(SavimSampleProvider, {});
Add provider to savim
Params
Field Name | Type | Default | Description |
---|---|---|---|
savimProvider | Class implements SavimTransportInterface | required | Provider to use |
config | object | {} | Config for provider |
Upload file
Params
Field Name | Type | Default | Description |
---|---|---|---|
filenameWithPath | string | required | where to upload file |
content | string/Buffer/Stream | required | file content |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Get file
Params
Field Name | Type | Default | Description |
---|---|---|---|
filenameWithPath | string | required | where to get file |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Delete file
Params
Field Name | Type | Default | Description |
---|---|---|---|
filenameWithPath | string | required | where to delete file |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Create folder
Params
Field Name | Type | Default | Description |
---|---|---|---|
path | string | required | where to create folder |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Delete folder
Params
Field Name | Type | Default | Description |
---|---|---|---|
path | string | required | where to delete folder |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Get folders path in path
Params
Field Name | Type | Default | Description |
---|---|---|---|
path | string | required | where to get folders |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
Get files path in path
Params
Field Name | Type | Default | Description |
---|---|---|---|
path | string | required | where to get files |
config | object | {} | Additional Config for provider |
providerName | object | optional | provider name |
To execute jest tests (all errors, type integrity test)
pnpm test
This package use TSdx. Please check documentation to update this package.
FAQs
[](https://codeclimate.com/github/qlaffont/savim/test_coverage) [](http
The npm package savim receives a total of 16 weekly downloads. As such, savim popularity was classified as not popular.
We found that savim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.