{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/10435","labels_url":"https://api.github.com/repos/npm/npm/issues/10435/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/10435/comments","events_url":"https://api.github.com/repos/npm/npm/issues/10435/events","html_url":"https://github.com/npm/npm/issues/10435","id":117353391,"number":10435,"title":"npm install --depth 0","user":{"login":"guyellis","id":2047725,"avatar_url":"https://avatars.githubusercontent.com/u/2047725?v=3","gravatar_id":"","url":"https://api.github.com/users/guyellis","html_url":"https://github.com/guyellis","followers_url":"https://api.github.com/users/guyellis/followers","following_url":"https://api.github.com/users/guyellis/following{/other_user}","gists_url":"https://api.github.com/users/guyellis/gists{/gist_id}","starred_url":"https://api.github.com/users/guyellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyellis/subscriptions","organizations_url":"https://api.github.com/users/guyellis/orgs","repos_url":"https://api.github.com/users/guyellis/repos","events_url":"https://api.github.com/users/guyellis/events{/privacy}","received_events_url":"https://api.github.com/users/guyellis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-17T13:21:45Z","updated_at":"2015-11-25T21:42:40Z","closed_at":null,"body":"The current 3 series of npm prints the installed tree once `npm i` completes. Would it be possible to default it to printing just level 0 of the tree instead of the entire tree? i.e. by default add a `--depth 0` style flag to it.\r\n\r\nExample:\r\n\r\nCurrent:\r\n\r\n```\r\n├─┬ webpack-merge@0.2.0 \r\n│ └─┬ lodash.isplainobject@3.2.0 \r\n│   └── lodash._basefor@3.0.2 \r\n└─┬ yql@1.0.2 \r\n  ├─┬ request@2.34.0 \r\n  │ ├── aws-sign2@0.5.0 \r\n  │ ├── forever-agent@0.5.2 \r\n  │ ├─┬ form-data@0.1.4 \r\n  │ │ ├── async@0.9.2 \r\n  │ │ └─┬ combined-stream@0.0.7 \r\n  │ │   └── delayed-stream@0.0.5 \r\n  │ ├─┬ hawk@1.0.0 \r\n  │ │ ├── boom@0.4.2 \r\n  │ │ ├── cryptiles@0.2.2 \r\n  │ │ ├── hoek@0.9.1 \r\n  │ │ └── sntp@0.2.4 \r\n  │ ├── http-signature@0.10.1 \r\n  │ ├── mime@1.2.11 \r\n  │ ├── oauth-sign@0.3.0 \r\n  │ ├── qs@0.6.6 \r\n  │ └── tunnel-agent@0.3.0 \r\n  └── underscore@1.6.0 \r\n```\r\n\r\nDefault wanted:\r\n\r\n```\r\n├─┬ webpack-merge@0.2.0 \r\n└─┬ yql@1.0.2 \r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/159737645","html_url":"https://github.com/npm/npm/issues/10435#issuecomment-159737645","issue_url":"https://api.github.com/repos/npm/npm/issues/10435","id":159737645,"user":{"login":"guyellis","id":2047725,"avatar_url":"https://avatars.githubusercontent.com/u/2047725?v=3","gravatar_id":"","url":"https://api.github.com/users/guyellis","html_url":"https://github.com/guyellis","followers_url":"https://api.github.com/users/guyellis/followers","following_url":"https://api.github.com/users/guyellis/following{/other_user}","gists_url":"https://api.github.com/users/guyellis/gists{/gist_id}","starred_url":"https://api.github.com/users/guyellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyellis/subscriptions","organizations_url":"https://api.github.com/users/guyellis/orgs","repos_url":"https://api.github.com/users/guyellis/repos","events_url":"https://api.github.com/users/guyellis/events{/privacy}","received_events_url":"https://api.github.com/users/guyellis/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:42:40Z","updated_at":"2015-11-25T21:42:40Z","body":"What if this could be configured through .npmrc? That way those of use who want an abbreviated output would only have to change this setting once per machine."}}