From c028b9f7adf86a50fdb28299e96a998337a50fd1 Mon Sep 17 00:00:00 2001 From: sirhung1993 Date: Thu, 15 Nov 2018 13:08:14 +0700 Subject: [PATCH] Fix some typos (#26764) Change line 97 "To remove a global dependency, use `-g` flag." => "To install a global dependency, use `-g` flag." And fix typos of "project" --- guide/english/nodejs/npm/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/nodejs/npm/index.md b/guide/english/nodejs/npm/index.md index 263cdb1627..c1444e3008 100644 --- a/guide/english/nodejs/npm/index.md +++ b/guide/english/nodejs/npm/index.md @@ -94,7 +94,7 @@ To do so, we mention the package version we want to install. $ npm install underscore@1.8.2 -S ``` -To remove a global dependency, use `-g` flag. +To install a global dependency, use `-g` flag. ### Uninstalling Local Packages @@ -294,7 +294,7 @@ Yarn is also a JavaScript package manager developed and maintained by Facebook. npm install -g yarn ``` -Yarn doesn't intend to replace npm, more like improving on it. It uses the same package.json file, and saves dependencies to the `node_modules/`folder. To initialise a projcet, you will use: +Yarn doesn't intend to replace npm, more like improving on it. It uses the same package.json file, and saves dependencies to the `node_modules/`folder. To initialise a project, you will use: ```shell yarn init