AvianFlu / ncp

Asynchronous recursive file copying with Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Politely recommend CPR over NCP

stefanpenner opened this issue · comments

I can appreciate the existing maintainers are likely busy, so in the interim I would like to recommend users the similar node_module CPR.

Milage may vary, but for my use-cases it was a drop-in replacement with the added benefit of nearly eliminating all my existing intermittent CI failures.

The maintainers appear active and responsive.

If i myself had more bandwidth I would offer my time to help maintain this project, unfortunately my queue is full and I hope to save others time and energy by making this recommendation.

I hope this doesn't cause any anger or hurt feelings. It absolutely is not my intent.

some relevant issues:

Thank you! Currently NCP has problem with filter! I tried to use CPR and everything works great!

Thanks. Please note that if you get uv_pipe errors, you need to use cpr in the main process (electron application).

Hi. NCP seems to have a transform function which allows me to change the content of the files before copying. Does CPR have such a functionality?. Thanks.

commented

I dropped in CPR in place of NCP and it worked without much code changing at all. I was having issues with NCP when updating from node v0.10 to v4, and this seems not to have the same problem.

Also this issue #98

Filtering by exclusion (cpr) instead of inclusion (ncp) makes things easier, especially because negating regexes with negative lookahead in JS is difficult.