
Product
Rubygems Ecosystem Support Now Generally Available
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
interview-questions
Advanced tools
A CLI tool for generating interview questions by difficulty level and quantity, with support for multiple output formats including text, JSON, and arrays.
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.
junior
, middle
, or senior
—to match your skill level.text
for direct display in the terminal.array
or json
for use in your projects or further study.Ensure you have Node.js installed on your machine.
git clone https://github.com/fix2015/interview-questions.git
cd interview-questions-cli
npm install
npm link
Run the CLI using the following command:
node cli.js [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 |
--verbose | Enable verbose logging for debugging. | --verbose |
Retrieve all questions:
node cli.js --filter all
Get the top 5 junior-level questions in JSON format:
node cli.js --filter top --amount 5 --level junior --format json
Use verbose mode to debug:
node cli.js --verbose
This repository is perfect for:
MIT License
Copyright (c) 2024 Vitalii Semianchuk
This project is licensed under the MIT License. See the LICENSE
file for details.
FAQs
A CLI tool for generating interview questions by difficulty level and quantity, with support for multiple output formats including text, JSON, and arrays.
The npm package interview-questions receives a total of 2,080 weekly downloads. As such, interview-questions popularity was classified as popular.
We found that interview-questions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
Research
The Socket Research Team investigates a malicious npm package that appears to be an Advcash integration but triggers a reverse shell during payment success, targeting servers handling transactions.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.