Title: Consider explicit string formatting module · Issue #43382 · nodejs/node · GitHub
Open Graph Title: Consider explicit string formatting module · Issue #43382 · nodejs/node
X Title: Consider explicit string formatting module · Issue #43382 · nodejs/node
Description: What is the problem this feature will solve? Node.js has multiple formatting related APIs such as util.inspect(), util.format(), util.formatWithOptions(), util.stripVTControlCharacters(str) and multiple util.inspect sub APIs such as colo...
Open Graph Description: What is the problem this feature will solve? Node.js has multiple formatting related APIs such as util.inspect(), util.format(), util.formatWithOptions(), util.stripVTControlCharacters(str) and mul...
X Description: What is the problem this feature will solve? Node.js has multiple formatting related APIs such as util.inspect(), util.format(), util.formatWithOptions(), util.stripVTControlCharacters(str) and mul...
Opengraph URL: https://github.com/nodejs/node/issues/43382
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider explicit string formatting module","articleBody":"### What is the problem this feature will solve?\r\n\r\nNode.js has multiple formatting related APIs such as `util.inspect()`, `util.format()`, `util.formatWithOptions()`, `util.stripVTControlCharacters(str)` and multiple `util.inspect` sub APIs such as `colors`, `custom`, `styles` and `defaultOptions`.\r\n\r\nWe recently added `util.parseArgs()` to the util module and it becomes pretty big overall, while not all really being connected with each other.\r\n\r\n### What is the feature you are proposing to solve the problem?\r\n\r\nIt is also considered to add new APIs such as a nicer abstraction for colors. To do so, I would like to create a new module that only contains string formatting APIs including the above. These APIs should always be kept supported from the util module as reference to the new module.\r\n\r\n@nodejs/util @nodejs/tooling @nodejs/tsc any opinions?","author":{"url":"https://github.com/BridgeAR","@type":"Person","name":"BridgeAR"},"datePublished":"2022-06-11T14:45:52Z","url":"https://github.com/nodejs/node/issues/43382"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:76d0a3d9-c040-411e-5ac4-ff17fc7705c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8560:147263:775930:A14319:6AED2C0D |
| html-safe-nonce | 4585d83df060bfc759019c799a0c9c49836042cfcf7a913ebe55215fef25c1df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTYwOjE0NzI2Mzo3NzU5MzA6QTE0MzE5OjZBRUQyQzBEIiwidmlzaXRvcl9pZCI6IjgwODI4NjQ0NjY5OTYwNDY4NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f54a0960bd63c046253234de75402e6ddcd2309ccadbca2595ddf85e6afd197a |
| hovercard-subject-tag | issue:1268294879 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/43382/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b88feaa6d50b1a7227a4bc77510261c403020ea424faccefddddfabfe5949dc/nodejs/node/issues/43382 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b88feaa6d50b1a7227a4bc77510261c403020ea424faccefddddfabfe5949dc/nodejs/node/issues/43382 |
| og:image:alt | What is the problem this feature will solve? Node.js has multiple formatting related APIs such as util.inspect(), util.format(), util.formatWithOptions(), util.stripVTControlCharacters(str) and mul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BridgeAR |
| hostname | github.com |
| expected-hostname | github.com |
| None | e51d0b7b5ab34b1688c05b54c3ed17b8658b2fa9bca973a9c740683ccb12cf4a |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ebb7b901cc154ecc179a44f266fcf69f343b30 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width