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

@nexis-dev/justsignnow-sdk

v0.2.0

Published

Official TypeScript SDK for the JustSignNow API — electronic signatures with a Bitcoin-anchored audit trail.

Downloads

45

Readme

@nexis-dev/justsignnow-sdk

Official TypeScript SDK for the JustSignNow API — electronic signatures with a Bitcoin-anchored audit trail.

Install

npm install @nexis-dev/justsignnow-sdk

Quick start

import { JustSignNow } from '@nexis-dev/justsignnow-sdk'
import fs from 'fs'

const jsn = new JustSignNow(process.env.JSN_API_KEY!)

// 1. Create an editor session — your user picks where to place fields,
//    invites signers, and sends from the JustSignNow UI.
const fileBase64 = fs.readFileSync('./permission-slip.pdf').toString('base64')
const session = await jsn.editorSessions.create({
  document: { fileBase64, name: 'permission-slip.pdf' },
  user: { email: '[email protected]', name: 'Ms. Johnson' },
  returnUrl: 'https://schools.app/students/123/forms?signed=1',
  metadata: { studentId: 'stu_001', formType: 'permission' },
})

// 2. Show your user the magic link (e.g. as a redirect or a button)
console.log('Editor:', session.editorUrl) // valid 30 min, single-use

// 3. Later — poll the document status (or wait for a webhook)
const status = await jsn.documents.get(session.documentId)
if (status.status === 'completed') {
  const { blob: signedPdf } = await jsn.documents.downloadSignedPdf(session.documentId)
  const { blob: cert } = await jsn.documents.downloadCertificate(session.documentId)
  // save them where you need them
}

Configuration

new JustSignNow('jsn_live_xxx', {
  baseUrl: 'https://justsignnow.com/api/v1', // override for self-host / staging
  fetch: customFetch,                        // override for tests / non-standard runtimes
})

Get an API key at https://justsignnow.com/dashboard/settings.

API surface

| Method | Description | |--------|-------------| | editorSessions.create(input) | Create a delegated editor session | | documents.get(id) | Get document status + signers + audit anchor | | documents.downloadSignedPdf(id) | Download the completed signed PDF | | documents.downloadCertificate(id) | Download the standalone certificate |

Full reference + interactive try-it: https://justsignnow.com/docs/api.

Errors

Every non-2xx response throws a JustSignNowError :

import { JustSignNowError } from '@nexis-dev/justsignnow-sdk'

try {
  await jsn.documents.get('does-not-exist')
} catch (err) {
  if (err instanceof JustSignNowError) {
    console.log(err.status)   // 404
    console.log(err.code)     // 'not_found'
    console.log(err.message)  // human-readable
  }
}

Compatibility

  • Runtime : Node.js 20+, Bun, Cloudflare Workers, Edge runtimes. Uses native fetch and crypto.subtle.
  • Module format : ESM only.
  • Types : ships TypeScript declarations.

License

MIT — © Nexis Dev, LLC.