Skip to content

Instantly share code, notes, and snippets.

@watilde
Last active February 22, 2018 16:47
Show Gist options
  • Save watilde/2a0b7b878b05a35fad5880a72cd0ff72 to your computer and use it in GitHub Desktop.
Save watilde/2a0b7b878b05a35fad5880a72cd0ff72 to your computer and use it in GitHub Desktop.
$ ls
package-lock.json package.json
$ cat package.json
{
"name": "test",
"version": "1.0.0",
"dependencies": {
"express": "^4.16.2"
}
}
$ dep -v
0.17.1
$ time dep install
Resolving dependencies
Installing dependencies
Installed 82 packages in 2.286s
real 0m4.273s
user 0m2.879s
sys 0m0.896s
$ ls
package-lock.json package.json
$ cat package.json
{
"name": "test",
"version": "1.0.0",
"dependencies": {
"express": "^4.16.2"
}
}
$ npm -v
5.7.0
$ time npm ci
added 49 packages in 3.722s
real 0m5.100s
user 0m1.603s
sys 0m0.255s
$ ls
package-lock.json package.json
$ cat package.json
{
"name": "test",
"version": "1.0.0",
"dependencies": {
"express": "^4.16.2"
}
}
$ npm -v
5.7.0
$ time npm install
npm WARN test@1.0.0 No description
npm WARN test@1.0.0 No repository field.
npm WARN test@1.0.0 No license field.
added 49 packages from 47 contributors in 4.271s
real 0m5.462s
user 0m9.642s
sys 0m1.542s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment