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 🙏

© 2024 – Pkg Stats / Ryan Hefner

insomnia-plugin-param

v0.2.0

Published

Parameterize requests and prompt for values

Downloads

34

Readme

insomnia-plugin-param

NPM CircleCI

An Insomnia plugin to ask values to the user when making requests.

This plugin works much like the Insomnia's built-in Prompt plugin but adds some unique features, like asking for specific data type values or formatting those values into several formats.

Example

Installation

Go to the Param plugin page at the Plugin Hub and install the plugin from there.

Additionally, in the Insomnia app go to Preferences > Plugins and install the insomnia-plugin-param.

Usage

Use the Param template tag in requests URLs, headers and bodies. Then click on the tag and customize the parameter with the proper values.

Param Template Tag

Types:

  • 🔤 String, accepts raw strings
  • *️⃣ Password, same as previous but masking the input
  • 🔢 Integer, accepts raw integers
  • ☑️ Boolean, accepts boolean values
  • 📅 Unix timestamp, ask for timestamps and renders them as the number of seconds since the January 1st, 1970.
  • 📅 Unix timestamp with milliseconds, same as above but including milliseconds.
  • 📅 ISO-8601, same as above but format timestamps using the ISO-8601 standard.
  • 🔗 URL, accepts strings that are URLs
  • ✉️ e-mail, accepts e-Mail addresses
  • 🖍 HTML Color, accepts colors and renders the value using the HTML #RRGGBB color format.

Name and description

The Name is an optional but recommendable field that gives the parameter with a representative name of what it stands for. Aditionally you can use the format Name: Description to give the users a better explanation about the purpose of the parameter.

Examples

With no value:

Without name

With Username:

Without name

With Username: Enter here your Github username:

Without name

Control when the dialog is shown:

  • Ask always, always shows an empty dialog
  • Ask always, but suggest the last entered value, same as above but allows the user to reuse/modify the previous value.
  • Ask always, but suggest the default value, same as above but presents the user the initial default value for the parameter.
  • Ask once, and use the value for further requests, shows the dialog once and uses the entered value in the next requests until you close the Insomnia app.

Parameter options

To be implemented