Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fix2015 authored Dec 21, 2024
1 parent dc98b7a commit 06c0aa6
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
![alt text](https://github.com/fix2015/interview-questions/blob/main/image.png)

# Interview Questions CLI
# 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—`junior`, `middle`, or `senior`—to match your skill level.
- **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.
Expand All @@ -23,12 +23,15 @@ 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 (`junior`, `middle`, `senior`). | `--level junior` |
| `--format` | Output format (`text`, `array`, `json`). Default is `text`. | `--format json` |
| 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

Expand All @@ -37,9 +40,9 @@ npx interview-questions [options]
npx interview-questions --filter all
```

- Get the top 5 junior-level questions in JSON format:
- Get the top 5 basic-level questions in JSON format:
```bash
npx interview-questions --filter --top 5 --level junior --format json
npx interview-questions --filter --top 5 --level basic --format json
```

- Get all questions:
Expand All @@ -50,7 +53,7 @@ npx interview-questions [options]
![alt text](https://github.com/fix2015/interview-questions/blob/main/image-1.png)

```bash
npx interview-questions --filter --top 5 --level junior
npx interview-questions --filter --top 5 --level basic
```
![alt text](https://github.com/fix2015/interview-questions/blob/main/image-2.png)

Expand All @@ -74,4 +77,4 @@ Copyright (c) 2024 Vitalii Semianchuk

## License

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

0 comments on commit 06c0aa6

Please sign in to comment.