
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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.
basic
, intermediate
, or advanced
—to match your skill level.text
for direct display in the terminal.array
or json
for use in your projects or further study.Run the CLI using the following command:
npx interview-questions [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 | --theme es6 |
( closures , storage , es6 , classes | ||
database ... and other 203 themes). | ||
--format | Output format (text , array , json ). Default is text . | --format json |
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
npx interview-questions --filter --top 5 --level basic
This repository is perfect for:
cd helpers
node generateTextLesson.js ../question.json
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 1,847 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.