harish2704 / node-s3-fs

A wrapper over AWS.S3 library which is compatible with Node.Js's fs module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-s3-fs

A wrapper over AWS.S3 library which is compatible with Node.Js's fs module

##Usage

    var fs = require('s3-fs');
    fs.configure({
        //S3.config.update arguments
    });

    fs.exist('/bucketname/directory1/file.ext', function(exist){
        
    });
    // or 
    fs.exist('bucketname/directory1/file.ext', callback );
    // The leading '/' is optional.

Currently implemented methods.

fs.exist
fs.readFile
fs.writeFile
fs.readdir

About

A wrapper over AWS.S3 library which is compatible with Node.Js's fs module

License:Apache License 2.0


Languages

Language:JavaScript 100.0%