Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sftp-resolver-fs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sftp-resolver-fs

resolves sftp urls

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

npm Greenkeeper semantic-release styled with prettier Build Status codecov.io Coverage Status Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs XO code style downloads Commitizen friendly

sftp-resolver-fs

resolves sftp urls

API

Table of Contents

SFTPScheme

Extends URLScheme

URLScheme for sftp access

Parameters

  • options Object (optional, default {})

get

Creates a readable stream for the content of th file associated to a given file URL

Parameters
  • context Context
  • url URL of the a file
  • options (Object | string)? passed as options to fs.createReadStream()

Returns Promise<ReadableStream> of the file content

name

Scheme name is 'sftp'

Returns string 'sftp'

defaultPort

Returns number 22 the sftp default port

isSecure

Returns boolean true

optionsFromEnvironment

Extract options suitable for the constructor form the given set of environment variables

Parameters

Returns Object undefined if no suitable environment variables have been found

install

With npm do:

npm install sftp-resolver-fs

license

BSD-2-Clause

Keywords

FAQs

Package last updated on 12 Jul 2018

Did you know?

Socket

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.

Install

Related posts

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