Sindre Sorhus

Results 4149 comments of Sindre Sorhus

1. I want to avoid adding additional dependencies. 2. I don't think there's any way to test these other than manually.

We could then also add a general `setCwd` method which uses `iTerm.setCwd` on iTerm and `ConEmu.setCwd` on ConEmu.

Yes, I need it for https://github.com/sindresorhus/term-img/issues/1. Haven't had the chance yet though, so PR welcome :)

Sure, but only native ESM. I don't want any build step. You need to target Node.js 12. You can see how I recently did it here: https://github.com/sindresorhus/quick-lru/commit/a408ce9b3ad430607f1f3e3077d1d21636343015

Sure

What problems does making this package ESM solve? Because it sounds like converting it to ESM will cause more problems than it solves. ESM can import CommonJS.

I'd like to keep this open so it's not forgotten. There's some useful info here. I'll circle back to this issue later this year.

RxJS is already supported, but "pull request welcome" for the rest. Can you include a link to these libs in the issue description so it's easy for people to read...

I guess. PR welcome (including tests and docs).