Synopsis
This is a wrapper around the request module that simplifies the interaction with Cleversafe instances. It makes it easier to set up a proxy in case your cleversafe instance is behind a firewall.
Code Example
var cleversafe =//Create cleversafe instancevar conn = USERNAMEPASSWORDCLEVERSAFE_HOSTPROXY URL//Get the vault list in JSON formconn;//Set the vault we will be working withconn//List objects in the specified vault in JSON formconn;//Deposit file in the vaultconn//Get file from cleversafe. The file will be stored in the local directoryconn//Delete file on cleversafeconn
Motivation
I decided to create this wrapper since I couldn't find any npm packages that simplified the interactions with cleversafe
Installation
$ npm install --save npm-cleversafe
Contributors
robert@bluechasm.com ryan@bluechasm.com
Feel free to contact us for suggestions or questions about this package