A development dependency is a package used to build, check, format, or otherwise work on a project, rather than one normally needed when the application runs. In npm, `--save-dev` records it under `devDependencies`; runtime dependencies go under `dependencies`. npm installs a package’s transitive dependencies, but not its transitive devDependencies. section 3.2.4
Common development dependencies support tasks such as:
- TypeScript compilation and type checking. section 2.1.1
- Formatting code with Prettier. section 2.3.1
- Saving and applying patches to installed packages with patch-package. section 3.2.4
$ npm install --save-dev typescript
This command installs TypeScript as a development dependency in an npm project. section 2.1.1





