New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

savim

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

savim - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

@@ -28,2 +28,39 @@ [![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://codeclimate.com/github/flexper/savim/maintainability) ![npm](https://img.shields.io/npm/v/savim) ![npm](https://img.shields.io/npm/dm/savim) ![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/savim) ![NPM](https://img.shields.io/npm/l/savim)

### uploadFile(filenameWithPath, content, params?, providerName?)
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 |
### getFile(filenameWithPath, params?, providerName?)
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 |
### deleteFile(filenameWithPath, params?, providerName?)
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 |
## Tests

@@ -30,0 +67,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc