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

certificate-generator

v1.0.0

Published

## Intro about the repo

Readme

Revivesoft-Applications

Intro about the repo

The repo serves as the common applications mono repo. The repo uses npm package manager to link packages. Following packages are included in this repo:

  1. document-processors: This holds processor(s) for documents
  2. storage-clients: This will include all of the storage clients for revivesoft.
  3. types: The types would serve as the types available for the project. This is a stand alone package that we can import in server or frontend.

Finally we have one application that uses these packsges under applications.

  1. document-generator: This app has the lambda function to generate document.

Get Started:

To get started first clone the repo, then run the following two commoands to build the project

    npm i 
    npm run build

This will build the whole project.

Locally view document-generator app:

To locally run document-generator, navigate to applications/document-generator and run

    npm run dev

This command above will run the application on local port 3000. On subsequent runs you may need to clear out port 3000 and 30002. Once run you should be able to interact with the api. Set up api with postman and run the documents local api. This is currently set to use storage client s3 to update a doucment.


POST http://localhost:3000/dev/documents

[
    {
    "orientation": "landscape",
    "inputFile": {
        "storageType": "aws_s3",
        "value": "clients/haven/cap/background/default.jpeg",
        "width": 297,
        "height": 210,
        "yAxis": 0,
        "xAxis": 0
    },
    "outputFile": {
        "shouldReturn": false,
        "storageType": "aws_s3",
        "savePath": "clients/haven/cap/files/test.pdf"
    },
    "items": [
        {
            "text": {
                "yAxis": 70,
                "xAxis": 148,
                "fontName": "Courier",
                "color": {
                    "ch1": 0,
                    "ch2": 0,
                    "ch3": 0
                },
                "fontSize": 40,
                "align": "center",
                "value": "Certificate Of Excellence"
            },
            "type": "text"
        },
        {
            "text": {
                "yAxis": 100,
                "xAxis": 148,
                "fontName": "Courier",
                "color": {
                    "ch1": 0,
                    "ch2": 0,
                    "ch3": 0
                },
                "fontSize": 30,
                "align": "center",
                "value": "Kam Jiwani"
            },
            "type": "text"
        },
        {
            "file": {
                "yAxis": 10,
                "xAxis": 20,
                "storageType": "aws_s3",
                "width": 40,
                "height": 40,
                "value": "clients/haven/cap/logos/default_logo.jpeg"
            },
            "type": "file"
        },
        {
            "file": {
                "yAxis": 120,
                "xAxis": 190,
                "storageType": "aws_s3",
                "width": 40,
                "height": 40,
                "value": "clients/haven/cap/signatures/default_signature.jpeg"
            },
            "type": "file"
        }
    ]
}]


To view the results go to s3 bucket under the outputFile save path to see the results.

For cloud deployed image you can use following endpoint


POST https://o68lir17d0.execute-api.us-east-1.amazonaws.com/dev/documents

The payload will remain the same. Note in order to make changes and do a fresh cloud deploy you would need to run the following command from applications/document-generator.


npm run deploy