Implementation of #combinationsSync()

Hi! Could you please merge this pull request and release updated version of package to npm?