Server installation instructions wrong
robhicks opened this issue · comments
Rob Hicks commented
npm install jshashes results in the following server directory structure under express:
node_modules/jshashes/server/lib
your use instructions suggest using:
var Hashes = require('./lib/hashes');
This throws a cannot find module error
Tom commented
Thanks for your report.
I changed the example in order to remove this confussion, thinking about the normal scenario will be the user install jsHashes via NPM.
If you locate jsHashes on a custom location, you only must change the module path.