12 questions for “npm & Packages”

Found in 1 field. Select a question to see its full answer.

Information Technology

12 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is a monorepo, and what specific tooling (like npm workspaces or Turborepo) helps manage multiple related Node.js packages within a single repository? Node.js › Git & Project ManagementNode.jsGit & Project ManagementIntermediate
2What is npm, and what is its relationship to the Node.js runtime itself? Node.js › Node.js Fundamentals & Runtime ArchitectureNode.jsNode.js Fundamentals & Runtime ArchitectureBeginner
3What is the difference between npm, Yarn, and pnpm as Node.js package managers, and what specific advantage does pnpm offer regarding disk space? Node.js › Git & Project ManagementNode.jsGit & Project ManagementIntermediate
4What is the purpose of a package-lock.json file in a Node.js project, and why should it be committed to version control? Node.js › Git & Project ManagementNode.jsGit & Project ManagementBeginner
5What is the purpose of a .gitignore file in a Node.js project, and what should always be included in it? Node.js › Git & Project ManagementNode.jsGit & Project ManagementBeginner
6What is the purpose of a CHANGELOG.md file in a Node.js project, and what should typically be included in each entry? Node.js › Git & Project ManagementNode.jsGit & Project ManagementBeginner
7What is a shebang line, and why does it need to be the first line of an executable Node.js CLI script? Node.js › CLI Tools & Scripting with Node.jsNode.jsCLI Tools & Scripting with Node.jsBeginner
8What is a Dockerfile, and what are the essential steps in a basic Dockerfile for a Node.js application? Node.js › Docker & Containerization for Node.jsNode.jsDocker & Containerization for Node.jsBeginner
9What is semantic versioning (semver), and how does it inform how a Node.js package's version number should change between releases? Node.js › Git & Project ManagementNode.jsGit & Project ManagementIntermediate
10How would you parse command-line arguments and flags in a Node.js CLI tool using a library like commander or yargs? Node.js › CLI Tools & Scripting with Node.jsNode.jsCLI Tools & Scripting with Node.jsIntermediate