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 🙏

© 2025 – Pkg Stats / Ryan Hefner

probot-extended-setup

v0.6.0

Published

Web editor for configuring Probot apps

Readme

Getting started

Install

# Install dependencies
npm install probot-extended-setup

Create params.yml

Probot Extended Setup reads a file in your app's root directory named params.yml. It uses this file to determine what and how it should let you configure environment variables via a web ui.

See params.yml for a simple example.

Options

params.yml is written as an top-level array, with each element supporting these options:

  • name - required - a friendly name for the parameter
  • description - optional - a terse representation of what this parameter is used for that is shown as a tooltip in the editor
  • env - required - the environment variable key that will be used when saving and loading this paramter to .env
  • inputType - optional, defaults to text - the HTML input type to render this paramter's value with. Supported values below:
    • text default input control
    • password masks input
    • checkbox supports true/false values
    • textarea multi-line text input control

Load the plugin

Add probot-extended-setup to your Probot App

const ExtendedSetup = require('probot-extended-setup');

/**
 * This is the main entrypoint to your Probot app
 * @param {import('probot').Application} app
 */
module.exports = (app) => {
  app.load(ExtendedSetup);

  // your Probot App code here
}

Using the editor

  1. Start your application and navigate to https://127.0.0.1:3000/probot/setup/extended.
  2. Edit your application configuration in the web form then save it.
  3. probot-extended-setup merges your changes into your existing config and saves it to .env in the root directory.

Access control

Access to the configuration editor is restricted to localhost.

You can also access the editor by supplying a generated token that can be found in the startup logs and <rootDir>/.token.

Reading the config

The Probot framework automatically loads the contents of .env into the environment variables for your app's running process. You can access them in your code by accessing process.env.<PARAMETER_NAME>, i.e. process.env.APP_ID

Contributing

Commits follow the Angular commit convention and this repository is commitizen friendly. In a general sense this means you'll want run npm run git-commit or git cz instead of git commit.

If you have suggestions for how probot-extended-setup could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

Releasing

This project uses semantic-release to handle releasing and publishing new versions. Merging pull requests into the main branch automatically runs this process via GitHub Actions.