Skip to content

t-nasu/uri-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uri-stream

npm module that creating stream to read/write from/to a URI.

Supported protocol:

Protocol Operation
HTTP Read
HTTPS Read
S3 Read/Write
FTP Read/Write
FILE Read/Write

Install

$ npm install nstkhr/get-stream

Usage

const uriStream = require('uri-stream');

uriStream
  .createReadStream('file:///path/to/file')
  .pipe(
    uriStream
      .createWriteStream('s3://bucket-name/path/to/object'
  ));

License

MIT

About

Create read/write stream for URI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published