Often, I find myself needing to console.log a string without a new line and I use process.stdout.write for that, but it would be cool if we can just use the global console object for that with all the extra features it supports (like printf, multiple args, etc..), and to make it so that when we have a custom console object, we'll get an output-without-a-new-line method on that as well.
Maybe console.write()? I think that matches the feature on other platforms.
Happy to implement if you think this is a good idea.
Often, I find myself needing to
console.loga string without a new line and I useprocess.stdout.writefor that, but it would be cool if we can just use the global console object for that with all the extra features it supports (like printf, multiple args, etc..), and to make it so that when we have a custom console object, we'll get anoutput-without-a-new-linemethod on that as well.Maybe
console.write()? I think that matches the feature on other platforms.Happy to implement if you think this is a good idea.