Skip to content

OsmosisAI/npm-cleversafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 = require('npm-cleversafe')


//Create cleversafe instance
var conn = new cleversafe(USERNAME,PASSWORD,CLEVERSAFE_HOST,PROXY URL)

//Set the vault we will be working with
conn.setVault(VAULT_NAME)

//Deposit file in the vault
conn.deposit("image.jpg")

//Get file from cleversafe. The file will be stored in the local directory
conn.retrieve("image.jpg")

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

Feel free to contact me for suggestions or questions about this package

About

npm-cleversafe module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors