patrickfuller / jgraph

An embeddable webGL graph visualization library.
http://patrickfuller.github.io/jgraph
MIT License
133 stars 31 forks source link

npm/jspm support #3

Closed Rantanen closed 9 years ago

Rantanen commented 9 years ago

Support for publishing and using the package through npm. Makes it easier to use it in browsers and also makes it compatible with jspm and the lovely ES6-style imports.

As far as I know it should still work the same in non-commonJS environments, but I didn't have a chance to test it in say IPython so you might want to do that before merging this.

Rantanen commented 9 years ago

I've published it to npmjs.org as well. I'll gladly hand over the ownership there though but I'll need npmjs user name for that.

patrickfuller commented 9 years ago

Thanks - this looks great!

There aren't too many updates to this project, so I'm fine with you maintaining control of the npmjs.org package. If you still want to transfer, I just made an account @patrickfuller

Rantanen commented 9 years ago

Thanks! npm supports multiple owners for packages so I added you as one without removing myself.