Nocturnal Practitioners of Magic

npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@sendsafely/sendsafely

1.0.6 • Public • Published

SendSafely JavaScript API for Node.js

The SendSafely JavaScript API for Node.js lets you integrate SendSafely secure data transfer capabilities directly into your Node.js application.

Quickstart

The example below shows you how to install the package and use it as a CommonJS module.

Install with npm

npm install @sendsafely/sendsafely

Include the SendSafely class to start making your API calls.

var SendSafely = require('@sendsafely/sendsafely');
//var sendSafely = new SendSafely("https://demo.sendsafely.com", "exAPIkeyxyz", "exAPIsecretxyz");
var sendSafely = new SendSafely("https://ORGANIZATION_HOST", "API_KEY", "API_SECRET");
 
sendSafely.verifyCredentials(function(email)  {
    console.log("Connected to SendSafely as user "  +  email);
});
 

You will need to generate your own API_KEY and API_SECRET from the API Keys section of your Profile page when logged into your SendSafely portal.

Examples

Please refer to our Developer Website to familiarize yourself with the core SendSafely API and common operations.

Support

For support, please contact support@sendsafely.com.

install

npm i @sendsafely/sendsafely

Downloadsweekly downloads

9

version

1.0.6

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability