Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-03 00:19:03 +00:00
parent 621859be2f
commit fd7ebaa72d
10 changed files with 148 additions and 7 deletions

17
tldr/npm-root Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm root
> Display path to `node_modules` directory.
> More information: <https://docs.npmjs.com/cli/commands/npm-root>.
- Display path to the local `node_modules` directory:
`npm root`
- Display path to the global `node_modules` directory:
`npm root --global`