npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-hellosign

v0.0.2

Published

API wrapper for hellosign.com

Downloads

11

Readme

node-hellosign

Build Status

It is a wrapper for hellosign.com API

Install

npm install node-hellosign

Quick Start

var HelloSign = require('node-hellosign')
  , username = process.env['USERNAME']
  , password = process.env['PASSWORD']
  , api = new HelloSign({
    username: username
  , password: password
  })

var options = {
  'signers[0][name]': 'Test User'
, 'signers[0][email_address]': username
, 'file[1]': fs.createReadStream(path.join(__dirname, 'test.pdf'))
}

api.createRequest(options, function (er, res) {
  console.log(res)
})

Methods

All the methods receive two params:

  • options (optional): an object with the parameters of the request. Check here how is this object depending on the request
  • callback (required): callback, it gets as param the error and the response

Check http://www.hellosign.com/api/reference

Account

  • getAccount(cb): Returns your Account settings.
  • updateAccount(opts, cb): Updates your Account's settings.
  • createAccount(opts, cb): Signs up for a new HelloSign Account.

Signature Requests

  • getRequest(cb): Gets a SignatureRequest that includes the current status for each signer
  • listRequest(cb): Lists the SignatureRequests (both inbound and outbound) that you have access to.
  • createRequest(opts, cb): Creates and sends a new SignatureRequest with the submitted documents.
  • sendForm(opts, cb): Creates and sends a new SignatureRequest based off of a ReusableForm.
  • sendReminder(opts, cb): Sends an email to the signer reminding them to sign the signature request.
  • cancelRequest(opts, cb): Cancels a SignatureRequest.
  • getFinalCopy(cb): Download the PDF copy of the finalized documents.

Reusable Forms

  • getForm(cb): Gets a ReusableForm which includes a list of Accounts that can access it.
  • listForms(cb): Lists your ReusableForms.
  • addUserForm(opts, cb): Gives the specified Account access to the specified ReusableForm.
  • removeUserForm: Removes the specified Account's access to the specified ReusableForm.

Teams

  • getTeam(cb): Gets your Team and a list of its members
  • createTeam(opts, cb): Creates a new Team
  • updateTeam(ots, cb): Updates a Team's name
  • destroyTeam(cb) : Deletes your Team.
  • addMember(opts, cb): Adds or invites a user to your Team
  • removeMember(opts, cb): Removes a user from your Team

Unclaimed Draft

  • createUnclaimedDraft(opts, cb): Creates a new Draft that can be claimed using the claim URL.

Tests

In order to run the tests you need to register an account and to define a reusable form

export [email protected]
export PASSWORD=xxxxxxx 
cd node_modules/node-hellosign
npm test