Skip to content

bodylabs/rho-cc-s3-uri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rho-s3-cc-uri

Check Amazon S3 URIs with rho-contracts.

Usage

You must use the Body Labs package, rho-contracts-fork:

  "dependencies": {
    "rho-contracts-fork": "^1.3.0"
  }
var cc = {};

cc.s3uri = require('rho-cc-s3-uri');

// Does not throw.
cc.s3uri.check('s3://foo/bar');

// Throws.
cc.s3uri.check('nope');

Installation

npm install rho-contracts-fork rho-cc-s3-uri

Contribute

Pull requests welcome!

Support

If you are having issues, please let us know.

License

The project is licensed under the Mozilla Public License Version 2.0.