Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
[![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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.