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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@breadstone/archipel-platform-esigning

v0.0.32

Published

Provider-agnostic e-signing infrastructure for NestJS with support for DocuSign, Adobe Sign, Dropbox Sign, and a built-in internal provider.

Readme

@breadstone/archipel-platform-esigning

Provider-agnostic e-signing infrastructure for NestJS applications.

Features

  • Multi-provider — DocuSign, Adobe Sign, Dropbox Sign, and built-in internal provider
  • Port/adapter pattern — Swap providers via EsigningClientPort without changing consumer code
  • Normalized models — Signing requests, signers, documents, fields, and webhook events
  • Webhook verificationverifyWebhook() with timestamp/nonce validation support
  • Persistence port — Optional state tracking via EsigningPersistencePort
  • Dynamic moduleEsigningModule.register() with configurable provider selection
  • Health checksEsigningHealthIndicator for readiness probes (separate /health subpath)

⚠️ Environment Variables

Choose one provider and configure its required variables.

DocuSign

| Variable | Required | Default | Description | | --------------------------- | -------- | ------- | ---------------------------------------------------- | | DOCUSIGN_INTEGRATION_KEY | yes | - | DocuSign integration key (client ID) | | DOCUSIGN_SECRET_KEY | yes | - | DocuSign secret key (client secret) | | DOCUSIGN_ACCOUNT_ID | yes | - | DocuSign account ID | | DOCUSIGN_BASE_URL | yes | - | DocuSign base URL (e.g. https://demo.docusign.net) | | DOCUSIGN_WEBHOOK_HMAC_KEY | no | - | DocuSign webhook HMAC key |

Adobe Sign

| Variable | Required | Default | Description | | ------------------------------ | -------- | ------- | --------------------------------------------- | | ADOBE_SIGN_INTEGRATION_KEY | yes | - | Adobe Sign integration key | | ADOBE_SIGN_CLIENT_SECRET | yes | - | Adobe Sign client secret | | ADOBE_SIGN_BASE_URL | yes | - | Adobe Sign base URL | | ADOBE_SIGN_WEBHOOK_CLIENT_ID | yes | - | Adobe Sign webhook client ID for verification |

Dropbox Sign

| Variable | Required | Default | Description | | ----------------------------- | -------- | ------- | --------------------------- | | DROPBOX_SIGN_API_KEY | yes | - | Dropbox Sign API key | | DROPBOX_SIGN_CLIENT_ID | yes | - | Dropbox Sign client ID | | DROPBOX_SIGN_WEBHOOK_SECRET | no | - | Dropbox Sign webhook secret |

Quick Start

import { EsigningModule } from '@breadstone/archipel-platform-esigning';
import { InternalEsigningProvider } from '@breadstone/archipel-platform-esigning';

@Module({
  imports: [
    EsigningModule.register({
      provider: InternalEsigningProvider,
      isGlobal: true,
    }),
  ],
})
export class AppModule {}

Import Options

// Main import (module, ports, models)
import { EsigningModule, EsigningClientPort, EsigningService } from '@breadstone/archipel-platform-esigning';
import { InternalEsigningProvider } from '@breadstone/archipel-platform-esigning/internal';

// Provider-specific (tree-shakable sub-exports)
import { DocusignClient, DOCUSIGN_CONFIG_ENTRIES } from '@breadstone/archipel-platform-esigning/docusign';
import { AdobeSignClient, ADOBE_SIGN_CONFIG_ENTRIES } from '@breadstone/archipel-platform-esigning/adobe-sign';
import { DropboxSignClient, DROPBOX_SIGN_CONFIG_ENTRIES } from '@breadstone/archipel-platform-esigning/dropbox-sign';

// Health indicator (optional)
import { EsigningHealthIndicator } from '@breadstone/archipel-platform-esigning/health';

Ports

| Port | Required | Description | | ------------------------- | -------- | --------------------------------------- | | EsigningClientPort | Yes | E-signing provider client contract | | EsigningPersistencePort | No | Optional signing request state tracking |

Error Handling

| Error Class | Code | When Thrown | | ----------------------------- | --------------------------- | ----------------------------------- | | EsigningError | ESIGNING | General e-signing operation failure | | SigningRequestNotFoundError | SIGNING_REQUEST_NOT_FOUND | Signing request not found | | SigningProviderError | SIGNING_PROVIDER | Provider SDK failure | | WebhookVerificationError | WEBHOOK_VERIFICATION | Webhook signature validation failed |

Resource Limits

| Limit | Value | Description | | ------------------------------ | --------- | --------------------------------------------------------- | | Internal provider max requests | 10,000 | InternalEsigningProvider max in-memory signing requests | | Adobe Sign HTTP timeout | 3 seconds | AdobeSignClient aborts requests after 3s | | Adobe Sign max retries | 2 | Failed calls retried up to 2 times |

Peer Dependencies

| Package | Required | Notes | | --------------------------------------------- | -------- | ------------------------------ | | @breadstone/archipel-platform-configuration | Yes | Typed config key support | | @nestjs/common | Yes | NestJS core | | docusign-esign | No | Required for DocuSign provider | | @dropbox/sign | No | Required for Dropbox Sign | | @breadstone/archipel-platform-health | No | Required for health indicator | | @nestjs/terminus | No | Required for health indicator |

Documentation

📖 E-Signing Guide: .docs/guides/esigning-integration.md

Development

# Build
yarn nx build platform-esigning

# Test
yarn nx test platform-esigning

# Lint
yarn nx lint platform-esigning