jlongster / transducers.js

A small library for generalized transformation of data (inspired by Clojure's transducers)
BSD 2-Clause "Simplified" License
1.73k stars 54 forks source link

ES6 modules #26

Closed tchak closed 9 years ago

tchak commented 9 years ago

Would be nice if the project was using ES6 modules and then transpiled to cjs, amd and global. Would you accept a PR to do so ?

jamiebuilds commented 9 years ago

Hi @tchak and @jlongster, I'm one of the contributors of 6to5 (http://6to5.github.io/), which can easily do this with our module formatters. If you need any help with this let me know or feel free to stop by our gitter room.

jlongster commented 9 years ago

I don't think modules would really help here; the library is literally just one file and I want to keep it that way for now. Each piece of functionality to too small to split out and it would just make it hard to work in this case.

jlongster commented 9 years ago

If there's anything I can do to make it easier to consume this lib from other module systems, let me know.