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

react-esigning-library-lt

v1.0.25

Published

Esigning react library for documents by LuckyTruck

Readme

React E-esigning for Pdf

Introduction

A react esigning component library where you can sign visually any position on pdf you specified .

You can sign whether by drawing signature through signature pad or can generate your own signature by typing text in the input field .

This library offers you to sign at any page by defining positions (X,Y) in the array.

Installation

npm install react-esigning-library-lt

Dependencies

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import { EsignPdf } from 'react-esigning-library-lt'


let testArray = [
    {
      pageNum: 0,
      positionX: 70,
      positionY: 80,
      type: "signature",
    },
    {
      pageNum: 0,
      positionX: 70,
      positionY: 80,
      signature: "Adam",
      type: "text",
    },
  ];
  const submitPdf = (data) => {
  console.log("data", data);
};
ReactDOM.render(
   <EsignPdf
      backgroundColor="#eded"
      signatureArray={testArray}
      submitPdfFunc={submitPdf}
      buttonStyle={{
        padding: "10px",
        width: "100%",
        cursor: "pointer",
        border: "1px solid",
        borderRadius: "15px",
        fontSize: "15px",
        backgroundColor: "#87ce",
        color: "#fff",
      }}
      url={"YOUR_PDF_URL"}
      generateButtonStyle={{
        padding: "10px",
        width: "35%",
        cursor: "pointer",
        border: "1px solid",
        borderRadius: "15px",
        fontSize: "15px",
        backgroundColor: "#87ce",
        color: "#fff",
      }}
      inputStyle={{ padding: "10px", marginRight: "5px" }}
    />
  document.getElementById('react-container')
)

Props Description

  • backgroundColor

Add your own background color to components like

  • buttonStyle

you can write your own css for buttons.

  • url

add your url for pdf, where you want to sign on.

  • inputStyle

add your own css to input field required in the generating signatures.

  • submitPdfFunc

It's a callback which will hold the visual sign pdf in base64, after you submit pdf . This can be used if you want to digitally sign your pdf from certified authority.

  • signatureArray

This array should include the format which is defined in the example, Here you can specified the positionX and positionY along with the pageNumber on which you want to sign on. In addition to signature, you can add your custom text if want to add in your pdf .

Props

| Name | Type | Required | Default | | ----------------- | ------ | -------- | ------------------------------------------ | | backgroundColor | String | No | '#eee' | | buttonStyle | Object | No | none | | url | String | Yes | none | | inputStyle | Object | No | {{ padding: "10px", marginRight: "5px" }} | | submitPdfFunc | Func | Yes | none | | signatureArray | Array | Yes | [] |

License

This package is available under the MIT license.