meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.56k stars 406 forks source link

it would be incredibly useful to precompile this for npm #168

Open Pomax opened 9 years ago

Pomax commented 9 years ago

It would be incredibly useful if caman.js could make use of https://www.npmjs.com/package/node-pre-gyp to ensure that there is a compiled binary available, so that people don't need to actually build caman.js themselves on install/update. Especially in Windows machines, the compilation turns npm install caman --save into "let's not install this, it doesn't work" (in theory it might turn into "let me learn how to set up a C++ build environment", but that takes so long that it's far more effective to say "screw this" and find something else =) and that's rather a shame, especially if they just want it for browser deployment, for which compilation isn't even necessary at all.

(for instance, in order to create a deploy bundle using browserify or webpack, the fact that the browser version is available for bower is, essentially, irrelevant, because bundling is based on node module require calls, even if those are require("caman/dist/caman.min.js"))

evanmrose commented 9 years ago

+1 Also would like this.

razjel commented 9 years ago

+1 That would be great to have!

zealoushacker commented 9 years ago

:+1: Would be a huge win, for sure.

matteomenapace commented 8 years ago

+1 This would make Caman my favourite image manipulation library