问题
I'm trying to port some code that uses Python's iterator tools to Node, however I'm not seeing any analogs out there.
I'm specifically looking for a replacement for itertools.combination()
I've seen this one, but it's incomplete and out of date: node-intertools
回答1:
I was not happy with the available solutions, so I wrote my own: https://www.npmjs.com/package/iter-tools
来源:https://stackoverflow.com/questions/24642185/is-there-an-equivalent-to-pythons-iterator-tools-for-node-js