Is there an equivalent to Pythons iterator tools for Node.js?

我的梦境 提交于 2019-12-11 10:08:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!