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

prompttp

v0.0.1022

Published

PROMPTTP

Downloads

21

Readme

PROMPTTP://

The "prompttp://" (stands for "Prompt Relay of Multidirectional Plain Text Transfer Protocol") is a user-friendly approach to communicating with AI, based on a website metaphor. It personifies the AI as a "visitor" navigating a "website" interface, resulting in ability to:

  • Split work between developers and prompt-writers (who can be librarians, teachers, or anyone else)
  • Utilize the built-in "state object" as a "one-shot memory" for the AI, allowing it to not only remember, but also "forget" when necessary
  • develop each prompt easily in a complex agent, enabling:
    • A big team to work on different parts of the same huge agent in parallel
    • A single person to work on a single prompt without needing to understand the entire agent
  • Preview/Edit fragments of the agent, without the need to run the entire chain
  • Still retain the full power of JavaScript and TypeScript, including the capability to use any npm package, call APIs, async fetch, etc.

Features

The basic entity in Prompttp is an "agent", which is a folder with an .ag extension. Each agent contains a series of pages, represented by .hbs template files, which are used to present prompts or sub-prompts (known as "prompt-pages") to the AI. Pages are interconnected, allowing the AI to navigate through the website and respond to each prompt-page. Each prompt-page can have an associated .ts file with the same name. This TypeScript file is executed before the template and can modify the state as needed. The "terminal" page is where the AI provides its final response. This response includes data that can modify the state and human-like text, which is streamed to the end user.

Usage

To use the Prompttp protocol, simply create an agent folder with an .ag extension and add .hbs template files for each prompt-page. If desired, you can also include .ts files for each prompt-page to modify the state before the template is executed.

Conclusion

The Prompttp protocol provides a user-friendly and intuitive approach to communicating with AI, using a website metaphor and interconnected pages. Whether you're a developer or end user, you'll appreciate the natural and human-like interaction made possible by this innovative approach.

Examples and documentation

For examples and documentation, see the Prompttp website or see the cheatsheet.ag agent.