interview-questions

1.2.4 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.450latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.450
1.2.353
1.2.015
1.1.410
1.1.110
1.0.49
1.0.312
1.0.110
1.0.010

Package Sidebar

Install

npm i interview-questions

Weekly Downloads

179

Version

1.2.4

License

ISC

Unpacked Size

1.63 MB

Total Files

40

Last publish

Collaborators

  • fix20152