# Add a 5s timeout when running \`npm info\` and \`npm install\` · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2c1fd7b0bf635107e37d5d3ef41f64d7b83ed9a9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2c1fd7b0bf635107e37d5d3ef41f64d7b83ed9a9

Requested commit: 2c1fd7b0bf635107e37d5d3ef41f64d7b83ed9a9

Commit: 2c1fd7b0bf635107e37d5d3ef41f64d7b83ed9a9

Tree: d579e5ccac0e46ec36ed186ea67d9a66136b1e63

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Add a 5s timeout when running `npm info` and `npm install`

This prevents those two commands from getting stuck when there is
no internet connection.

```

## Parents

- [9779663c6b18fa35ecf9742c92c3f32a2a8d955d](https://git.cafe/gitcafe/zed/commit/9779663c6b18fa35ecf9742c92c3f32a2a8d955d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2c1fd7b0bf635107e37d5d3ef41f64d7b83ed9a9?format=markdown)
