New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

interview-questions

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interview-questions

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

  • 1.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
220
increased by46.67%
Maintainers
0
Weekly downloads
 
Created
Source

alt text

Interview Questions CLI (592 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

OptionDescriptionExample
--filterFilter questions by type (all, top). Default is all.--filter top
--amountNumber of questions to retrieve (for top filter).--amount 5
--levelFilter by difficulty level (basic, intermediate, advanced).--level basic
--themeFilter by difficulty level--theme es6
( closures , storage , es6 , classes
database ... and other 203 themes).
--formatOutput 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.

Generate repo folder

cd helpers
node generateTextLesson.js ../question.json

Connect with Me:

  • LinkedIn - Vitalii Semianchuk
  • Telegram - @jsmentorfree - We do a lot of free teaching on this channel! Join us to learn and grow in web development.
  • Tiktok - @jsmentoring Everyday new videos
  • Youtube - @jsmentor-uk Mentor live streams
  • Dev.to - fix2015 Javascript featured, live, experience

License

MIT License
Copyright (c) 2024 Vitalii Semianchuk

License

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

Keywords

FAQs

Package last updated on 20 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc