-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Add indent option to util.inspect? #14638
Copy link
Copy link
Closed
Labels
discussIssues opened for discussion and feedback.Issues opened for discussion and feedback.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
Activity
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussion and feedback.Issues opened for discussion and feedback.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
It was mentioned in comment on PR, that it might useful to have 'real indenting' for
util.inspectvia a new option passed in. This is to make it function more like JSON.stringify with passing in a space specifier. Is this something that people would like to see? Would it be useful?Refs: #14545