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

ergoform

v0.8.7

Published

ergoform provides a framework for converting JSON objects into HTML forms

Readme

ErgoForm

"I think I am a form, therefore I am a form."

Ergoform is a framework for writing the layout of a form in a readable manner, which is then parsed into a HTML5 form. Using a syntax that is familiar to JSON, Ergoform hopes to make form writing immediately straightforward, and immediately powerful at the same time.

How does Ergoform work?

Easy as pie. Writing a line that looks like this "input-box": "Enter a name here" will simply give you an input box labelled "Enter a name here". Every form item has a shortcut like this, meaning you can write a form in minutes!

Simplicity can give way to power. "input-box": {"label": "Enter your email here", "help": "Letting us have your email will enable us to contact you if we have to!", "inputType": "email"} will give you an input box labelled "Enter your email here", a little help message underneath it and a HTML5 input box that accept email addresses!

Mix the simple with the powerful. There is nothing stopping you from having several items, each in their express and full form.

"text-header": "My Ergoform"
"input-box": "Enter a name here"
"input-box": {"label": "Enter your email here", "help": "Letting us have your email will enable us to contact you if we have to!", "inputType": "email"}
"submit-button": "Submit" 

FAQ

  1. What is the current status of the Project? At Ergoform version 0.8.1, the project is in Alpha. I am currently working on an Angular implementation of the Ergoform, so this is pretty half-baked at the moment. For now, the base library is complete for a basic implementation, and I would like to work on this before adding any new features.

  2. Why Ergoform? I found myself repeatedly tying html code for my forms. It's painful, tiresome, inconsistent and very difficult to maintain. Splitting the form to its business logic and its presentation will also help to make forms easier to test and troubleshoot.

  3. Can I contribute? To a half-baked project? I will read issues and fix bugs with the current library, but feature requests and opinions will have to wait. It's gotta walk before it can fly. =P