ProgerXP / FileDrop

Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.
filedropjs.org
The Unlicense
264 stars 61 forks source link

node.js / npmjs.org publication? #41

Closed Pomax closed 9 years ago

Pomax commented 9 years ago

If possible, can this library be made nodejs-flavour commonjs compatible and published to npm, so that we can do npm install filedrop --save and write a million things that need drag-and-drop file handling? It would make the life of an automation engineer a lot easier =D

ProgerXP commented 9 years ago

What tells you that FileDrop isn't on npm already? It also has Bower.

https://www.npmjs.com/package/filedrop

Pomax commented 9 years ago

mostly the fact that it doesn't have a package.json in the main dir, which is supposed to be a requirement for doing an npm publish (since it contains the project name, version, etc). Bower's not as useful, since it's much harder to use in automation setups (great if you do only client-side work, not so great if you have automated build setups)

ProgerXP commented 9 years ago

mostly the fact that it doesn't have a package.json in the main dir

Oh. Sorry, it turned out that I forgot to push the changes I've made a while ago. Now it's here. Doesn't change the fact that FileDrop's on npm already though.

Pomax commented 9 years ago

nice!