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 🙏

© 2024 – Pkg Stats / Ryan Hefner

interview-questions

v1.2.4

Published

A CLI tool for generating interview questions by difficulty level and quantity, with support for multiple output formats including text, JSON, and arrays.

Downloads

576

Readme

alt text

Interview Questions CLI (466 questions)

Welcome to the Interview Questions CLI, a powerful tool designed for users learning JavaScript and practicing coding every day. This repository provides a collection of interview questions categorized by difficulty level, allowing you to learn and improve your skills anytime, directly from your terminal.

Features

  • Daily Practice: Access a curated set of JavaScript interview questions to sharpen your coding skills.
  • Difficulty Levels: Choose questions by difficulty—basic, intermediate, or advanced—to match your skill level.
  • Flexible Output: Get questions in multiple formats:
    • text for direct display in the terminal.
    • array or json for use in your projects or further study.
  • Randomized Selection: Practice with random questions to simulate real-world scenarios.

Usage

Run the CLI using the following command:

npx interview-questions [options]

Options

| Option | Description | Example | |-----------------|--------------------------------------------------------------- |----------------------------------------| | --filter | Filter questions by type (all, top). Default is all. | --filter top | | --amount | Number of questions to retrieve (for top filter). | --amount 5 | | --level | Filter by difficulty level (basic, intermediate, advanced). | --level basic | | --theme | Filter by difficulty level ( closures | storage | es6 | classes | database ... and other 203 themes). | --theme es6 | | --format | Output format (text, array, json). Default is text. | --format json |

Examples

  • Retrieve all questions:

    npx interview-questions --filter all
  • Get the top 5 basic-level questions in JSON format:

    npx interview-questions --filter --top 5 --level basic --format json
  • Get all questions:

    npx interview-questions

alt text

  npx interview-questions --filter --top 5 --level basic

alt text

Who is this for?

This repository is perfect for:

  • JavaScript learners: Enhance your knowledge with targeted practice.
  • Job seekers: Prepare for interviews by tackling real-world coding problems.
  • Developers: Quickly access a JSON or array of questions for use in projects or mock tests.

Connect with Me:

License

MIT License
Copyright (c) 2024 Vitalii Semianchuk

License

This project is licensed under the MIT License. See the LICENSE file for details.