-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undocumented readline
methods
#3836
Comments
r-52
added
doc
Issues and PRs related to the documentations.
readline
Issues and PRs related to the built-in readline module.
feature request
Issues that request new features to be added to Node.js.
labels
Nov 15, 2015
mscdex
removed
the
feature request
Issues that request new features to be added to Node.js.
label
Nov 15, 2015
@sindresorhus Just submitted a PR for these. |
PR: #3847 |
I'm going to keep this open, as #3862 doesn't cover |
@cjihrig ... do we still need to keep this one open? |
@jasnell I'll submit a PR to address this so that it can be closed one way or the other. |
3 tasks
Documented in 3de9bc9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are several exposed methods on
readline
that are not documented:readline.getStringWidth()
readline.isFullWidthCodePoint()
readline.stripVTControlCharacters()
readline.emitKeypressEvents()
They should IMHO either be documented or made internal. Preferably the latter.
Most of these are already modules on npm anyways:
getStringWidth
→string-width
isFullWidthCodePoint
→is-fullwidth-code-point
stripVTControlCharacters
→strip-ansi
The text was updated successfully, but these errors were encountered: