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

apee-i

v1.0.2

Published

CLI based tool to test all your APIs. Written in golang to offer you best performances

Readme

Apee-i

Command Line based api-tester utility completely written in Golang

MIT License Golang

About

Apee-i is a CLI-Based API Tester, a command-line tool written in Go for testing APIs efficiently. It uses a JSON file to define API requests and allows you to execute individual requests or custom pipelines of multiple API calls. The tool is designed to be lightweight, flexible, and developer-friendly, making it an essential utility for testing APIs in development environments.

NOTE: Currently only supports when API responds with JSON structure

Features

  • JSON-based Configuration: Define API requests and pipelines in a single JSON file.

  • Single Request Execution: Run individual API tests with ease.

  • Custom Pipelines: Chain multiple API requests to test workflows and dependencies.

  • Detailed Logging: Provides detailed output for each request, including status codes, response bodies, and errors.

  • Cross-Platform: Compatible with major operating systems (Linux, macOS, Windows).

Installation

By Cloning:

Have Go installed in your system

Step 1. Clone

git clone https://github.com/IbraheemHaseeb7/apee-i.git
cd apee-i

Step 2. Install using go module handler

go install

Usage

Step 1. Create a json file

You can name your json file api.json if you don't want to mention the filename everytime when you hit the command or otherwise you will have to tell the tool using --file flag like so

apee-i --file=myfile.json

Follow the given json file structure

api.json put this file wherever you want to test your APIs. A sample file is present here for you to use.

{
	"baseUrl": {
		"development": "http://localhost:8000/api",
		"staging": "http://staging.com/api",
		"production": "http://production.com/api"
	},
	"credentials": {
		"development": {
			"email": "[email protected]",
			"password": "Example@123"
		},
		"staging": {
			"email": "[email protected]",
			"password": "Example@123"
		},
		"production": {
			"email": "[email protected]",
			"password": "Example@123"
		}
	},
	"loginDetails": {
		"route": "/login",
		"type": "JWT",
		"token_location": "data.access_token"
	},
	"current_pipeline": [
		{ "endpoint": "/test" },
		{
			"endpoint": "/test",
			"method": "POST",
			"body":  {
                "name": "John Doe",
                "email": "[email protected]",
			},
			"expectedStatusCode": 201,
			"headers": {
				"X-HEADER": "SOME_VALUE"
			}
		}
	],
	"custom_pipelines": {
		"users": [
			{ "endpoint": "/users" },
			{ 
                "endpoint": "/users/1",
                "method": "PATCH",
                "body": {
                    "name": "Sara Doe"
                }
            }
		],
		"test": [
			{
				"endpoint": "/test"
			}
		]
	}
}

How to use now?

Login Details

  1. Provide the login route for the apee-i to hit
  2. Currently it only supports JWT auth
  3. Token location is the field where the access token will be available in JSON response

Select environement and credentials by

NOTE: Default environement is development if you dont provide with the flag

apee-i --env=staging

Select file by

NOTE: Default filename is api.json if you dont provide with the flag

apee-i --file=myfile.json

Select pipelines by

NOTE: Default pipeline is current if you dont provide with the flag

apee-i --pipeline=current

This executes all the endpoints in current_pipline field

OR

You can run a selected custom pipeline by

apee-i --pipeline=custom --name=users

This executes all the endpoints in custom_pipelines under users

OR

Finally you can run all the pipelines in the custom_pipelines by

apee-i --pipeline=custom --name=all

🔗 Find me here

portfolio linkedin

Authors