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

interview-coach

v1.0.1

Published

AI-powered interview simulator that conducts realistic interviews, evaluates responses, and generates detailed performance reports.

Downloads

297

Readme

Interview Coach

Node.js CLI Open Source Groq Webpack npm version npm downloads GitHub stars License

AI-powered terminal interview simulator that helps you practice interviews, receive structured feedback, and improve your performance through realistic AI-generated questions.

Built as a Proof of Concept (POC) by Code Media Labs to demonstrate how modern AI can be combined with developer tooling to create practical career-focused applications.

Whether you're preparing for a technical role, content writing position, marketing interview, sales role, design job, or any other profession, Interview Coach adapts to the role you provide and conducts a realistic interview experience directly from your terminal.

Features

  • Interactive CLI interview experience

  • Support for any role or profession

  • AI-generated interview questions using Groq

  • AI-powered answer evaluation

  • Structured scoring and verdicts

  • Detailed feedback and improvement suggestions

  • Final performance report

  • Beautiful terminal UI with progress indicators and formatted reports

  • Lightweight bundled CLI distribution

Why We Built This

Interview Coach started as an internal experiment at Code Media Labs to explore:

  • AI-powered assessments

  • Terminal-first developer experiences

  • Structured LLM outputs

  • Practical career preparation tools

The project evolved into an open-source Proof of Concept showcasing how AI can be used to create interactive interview and evaluation systems.

Requirements

  • Node.js >= 20

  • A valid Groq API Key

Installation

Run without installing


npx  interview-coach

Install globally with npm


npm  install  -g  interview-coach

Install globally with pnpm


pnpm  add  -g  interview-coach

Install globally with Yarn


yarn  global  add  interview-coach

Verify installation


interview-coach  --version

Configuration

Interview Coach requires a Groq API key.

macOS / Linux


export  GROQ_API_KEY="YOUR_API_KEY"

Windows (PowerShell)


$env:GROQ_API_KEY="YOUR_API_KEY"

You can also provide the API key directly:


interview-coach  start  --api-key  YOUR_API_KEY

Usage

Start an Interactive Interview


interview-coach  start

Start with an API Key


interview-coach  start  \

-k YOUR_API_KEY

interview-coach  start  \

--api-key YOUR_API_KEY

View the Latest Report


interview-coach  report

Show Help


interview-coach  --help

Show Version


interview-coach  --version

Example

$  interview-coach  start

Role:  Frontend  Developer
Difficulty:  Senior
Questions:  5

★  Question  1/5

Category:  React
Difficulty:  Medium

How  would  you  optimize  a  React  application  experiencing  unnecessary  re-renders?

Your  Answer:

Development

git  clone  https://github.com/codemedialabs/interview-coach.git
cd  interview-coach
npm  install
npm  run  build

Useful commands:


npm  run  dev

npm  run  build

npm  run  rebuild

npm  run  clean

npm  run  check

Project Structure

bin/
├── cli.js
src/
├── commands/
│ └── start.js
├── providers/
│ └── groq.js
├── schemas/
│ └── sessionSchema.js
├── utils/
│ ├── answerEvaluator.js
│ ├── engine.js
│ ├── evaluateAnswerPrompt.js
│ ├── generateQuestionPrompt.js
│ ├── questionGenerator.js
│ ├── renderLogo.js
│ ├── session.js
│ ├── showReport.js
│ └── storage.js
dist/
└── interview-coach.js
data/
└── session.json

File descriptions

  • bin/cli.js — entrypoint for the published CLI. Parses commands and dispatches to the interview or report workflows.

  • src/commands/start.js — initiates a new interactive interview session and prompts the user for role, difficulty, and question count.

  • src/providers/groq.js — wraps the Groq SDK and sends structured prompts to the LLM to return JSON responses.

  • src/schemas/sessionSchema.js — Zod schema for validating interview session shape before saving to disk.

  • src/utils/answerEvaluator.js — evaluates the candidate's answer using an AI-generated JSON payload.

  • src/utils/engine.js — main interview loop: generates questions, asks for answers, evaluates responses, saves state, and displays the final report.

  • src/utils/evaluateAnswerPrompt.js — builds the prompt text used to evaluate candidate answers.

  • src/utils/generateQuestionPrompt.js — builds the prompt text used to generate interview questions.

  • src/utils/questionGenerator.js — requests a new interview question from the Groq provider.

  • src/utils/renderLogo.js — prints the terminal banner/logo at startup.

  • src/utils/session.js — handles creation, loading, saving, updating, and deletion of interview session data.

  • src/utils/showReport.js — renders the final interview report and detailed feedback in the terminal.

  • src/utils/storage.js — filesystem helpers for ensuring storage directories and checking file existence.

  • dist/interview-coach.js — bundled CLI distribution produced by Webpack for publishing.

  • data/session.json — runtime session persistence file created by the CLI for ongoing interview state.

Notes

  • Session data is stored locally.

  • The report command displays the latest completed interview.

  • Structured JSON outputs are used for both question generation and answer evaluation.

  • The default model can be configured inside the Groq provider implementation.

Contributing

Contributions, bug reports, feature requests, and improvements are welcome.

Please open an issue or submit a pull request.

About Code Media Labs

Code Media Labs is a digital agency focused on building modern websites, scalable platforms, automation workflows, branding systems, and creative media experiences.

We work at the intersection of technology, design, branding, and digital marketing to help organizations strengthen their online presence and operate more efficiently.

Website: https://codemedialabs.in

Email: [email protected]

License

MIT License

Copyright (c) 2026 Code Media Labs