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

apic-cli

v2.0.3

Published

A command line interface to run your apic tests

Downloads

40

Readme

apic-cli

The command line utility to run you APIs tests with apic. apic-cli allows you to test your Test Suits created with apic from a command line or with a node js app.

How to use apic-cli

For running tests

In terminal

if you want to use apic from the command line run

npm install apic-cli -g

Once installed you can run apic-cli -h to view all available commands.

Command:

apic run|r <suit> [options] Run apic Test Suit or an entire Test Project

Options

-e, --environment <path> : Specify a URL or Path to an apic environment file.

-r, --reporters <reporters> : Comma separated list of reporters to use (without any space)

-d , --responseData : if specified, response data will be logged in the cli reporter

-h, --help : output usage information

Example: apic run ".\example\ToDo demo.suit.apic" -e ".\example\APIC Todo demo-env.env.apic" -r cli,junit -d

With node js

If you want to use it with a node js application add it to your project by running

npm install apic-cli --save

Next add below code to your script file.

const apicCli = require('../lib');

apicCli.run('.\\example\\ToDo demo.suit.apic', {
    environment: '.\\example\\APIC Todo demo-env.env.apic',
    reporters: 'cli,junit',
    responseData: true
});

Look in the examples folder for a sample node js app to run your Test Suit with apic.

Starting the Web Agent

If you are using the web version of APIC, like every web application making web requests to other domains will be limited by CORS. You can get around thsi by using APIC's Web Agent which runs a local agent on your machine. This agent is used for forwarding all https calls. This allows the Web version of APIC to send the requets to the agent and read response from it via Web Sockets bypassing the CORS limitation.

To Learn more about the APIC Web Agent visit https://docs.apic.app/apic-web-agent-apic-cli

Command:

apic agent [options] Start the APIC Web Agent

Options

-p, --port <port numver> : 'Specify the port to start thge agent. Default:8008'

Once the agent is up and running you can connect to it from the Web application and forward all your requests.

What is "apic"

APIC provides a complete end to end solution for APIs; staring from design to documentation to testing. With a simplistic UI for Designing APIs and a feature rich platform for testing them, APIC provides a common platform for your API architects, developers and testers. APIC also comes with an API simulator so your Front-end team can work in parallel to your Back-end team.

Here are some awesome features of apic

Learn more about apic at www.apic.app