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

capti

v0.0.20

Published

Capti is a comprehensive end-to-end REST API testing framework.

Readme

Capti

Capti is a lightweight end-to-end testing framework for REST APIs. Define your requests and expected response values in an intuitive YAML format, and streamline your endpoint testing.

  - test: Get recipe
    description: "Should be able to get recipe information"
    request:
      method: GET
      url: ${BASE_URL}/recipes/${RECIPE_ID}
    expect:
      status: 2xx
      body:
        id: ${RECIPE_ID}
        name: Guacamole
        ingredients: $exists

Features

  • Define test suites to model the behavior of your users.
  • Write HTTP endpoint tests that make HTTP requests and assert expected responses.
  • Use various matchers in your tests to make pattern-based assertions.
  • Define and extract variables from responses to reuse repeated values and test authentication and stateful resource flows.
  • Provide setup and teardown scripts for your tests and test suites, enabling CI workflows.

Next Steps

Please visit the documentation to learn more about Capti and how you can use it in your projects.

Planned Development

Capti is under active development and is not production ready. If you want to contribute, feel free to reach out (or just start opening issues and PRs, whatever).

Upcoming Features

  1. More matchers - such as "$key_exists some_key" for objects, "$starts_with some_prefix", "$contains some_value", etc.
  2. Testing endpoints under load, testing endpoint throttling or API limits.
  3. Support for specifying a local .env file for loading variables.
  4. Support for printing more detailed results of testing to local files, as well as setting verbose log levels for more information.

Stretch Features

  1. Support for other frameworks?
  2. Coverage reports?
  3. Plugin API for custom matchers?
  4. Whatever you suggest or require for your project.

Contributing

What would you find useful in a tool like this? Feel free to create an issue or just jump right in and fork/clone/code something up.

To run the app, ensure you already have Rust installed, and you have a REST API project you can test it on (or use the included test-app, a simple Express Rest API). Clone the repo locally, and run cargo build to create the project binary, located at ./target/debug/capti.

Run this binary in a project containing some tests you've written (specify your test directory as an argument to running the binary) following the guidance above.

Note: If the above step is confusing, take a look at the "test" script in the test_app package.json file.