Y
Hacker News
new
|
ask
|
show
|
jobs
by
pfg_
516 days ago
Node does have the same thing, and you can access it with `--expose-internals` from `const { getStringWidth } = require("internal/util/inspect");`. They don't expose it for some reason.