iantearle / darksky.net-javascript-api

Darksky.net Javascript API
http://iantearle.com
65 stars 33 forks source link

Register as NPM #9

Closed KasperAndersson closed 7 years ago

KasperAndersson commented 8 years ago

In advance thanks

iantearle commented 8 years ago

@rjbultitude can you see any issues with do this? I've not registered anything on npm before - (more of a packagist for PHP developer)

rjbultitude commented 8 years ago

@iantearle should be fine now that it's got the UMD wrapper. I've tested it in a node app by installing it manually and it worked without any issues.

There'll be a few hoops to jump though first though such as configuring the package.json file and setting up proper versioning.

There's a brief set of instructions here: (https://gist.github.com/coolaj86/1318304)[https://gist.github.com/coolaj86/1318304]

rjbultitude commented 7 years ago

Hi @KasperAndersson Though this version isn't on NPM I have published a similar version here: npmjs.com/package/darkskyjs There are some breaking changes but some enhancements too. If you use it please read the ReadMe for details on what's changed.

KasperAndersson commented 7 years ago

Hi @rjbultitude, Thank you.