Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom random path generator function #20

Closed
Starefossen opened this issue Mar 10, 2015 · 0 comments
Closed

Custom random path generator function #20

Starefossen opened this issue Mar 10, 2015 · 0 comments
Milestone

Comments

@Starefossen
Copy link
Contributor

Provide a constructor option to define a custom random path generator function.

Example:

var uuid = require('uuid');
var Upload = require('s3-uploader');

var client = new Upload('myBucket', {
  randomPathGenerator: uuid.v4
}
@Starefossen Starefossen modified the milestone: v1.0.0 Apr 27, 2015
@Starefossen Starefossen modified the milestone: v1.0.0 Jun 11, 2015
@Starefossen Starefossen modified the milestone: v1.1.0 Jul 29, 2015
Starefossen pushed a commit that referenced this issue Sep 5, 2015
Starefossen pushed a commit that referenced this issue Oct 13, 2015
Add support for selecting a custom random path generator function such as
`broofa/node-uuid`.

PR-URL: #41
Implements: #20

Signed-off-by: Hans Kristian Flaatten <[email protected]>
Starefossen pushed a commit that referenced this issue Oct 28, 2015
Add support for selecting a custom random path generator function such as
`broofa/node-uuid`.

PR-URL: #41
Implements: #20

Signed-off-by: Hans Kristian Flaatten <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant