Open michielbdejong opened 10 years ago
I don't understand what you mean. Inclue remotestorage-server from remotestorage.js ???
I think remotestorage.js's package.json mentions the server as devDependency
Or do you mean that instead of require('remotestorage-example-server/remotestorage-server') it should be require('remotestorage-server'). Then I will have to think about how to use the webfinger and oauth part, but maybe it is ok when you have to include them via require('remotestorage-example-server/{webfinger,oauth}-server') .
But the idea was to be able to do :
require('remotestorage-example-server')(config)
to set up the whole example-server suite
but that wouldn't work right now.
But I think it is a good idea to make it useful for the starter-kit.
i was referring to http://npmjs.org/package/remotestorage-server (i guess we cleared this on irc since)
yes ;)
the code from
remotestorage.js
is now available as an npm package - if you include it from there then it will automatically be updated when new spec versions come out or when we find bugs