npm: add --yes to init and add shortform options (#13634)

* npm: add --yes to init and add shortform options

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md
This commit is contained in:
Managor
2024-09-08 18:52:28 +03:00
committed by GitHub
parent 2545d6e0dd
commit bbe3ca269d
6 changed files with 20 additions and 20 deletions

View File

@@ -18,11 +18,11 @@
- Unduh paket dan menambahkan ke daftar dependensi dev di package.json:
`npm install {{nama_modul}} --save-dev`
`npm install {{nama_modul}} {{-D|--save-dev}}`
- Unduh paket dan instal secara global:
`npm install --global {{nama_modul}}`
`npm install {{-g|--global}} {{nama_modul}}`
- Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`:
@@ -34,4 +34,4 @@
- Buat daftar modul tingkat atas yang diinstal secara global:
`npm list --global --depth={{0}}`
`npm list {{-g|--global}} --depth {{0}}`