Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
[![Test Coverage](https://api.codeclimate.com/v1/badges/82ebbb63cf10115c4a09/test_coverage)](https://codeclimate.com/github/flexper/savim/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/82ebbb63cf10115c4a09/maintainability)](https
A simple library to send email cross providers.
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
[![Test Coverage](https://api.codeclimate.com/v1/badges/82ebbb63cf10115c4a09/test_coverage)](https://codeclimate.com/github/qlaffont/savim/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/82ebbb63cf10115c4a09/maintainability)](http
The npm package savim receives a total of 503 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 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.