TravisCI allows to speed up unit tests by permitting to cache directories.
In relation to scrypt-js library it would be valuable to cache the node_modules directory used by npm.
It would be simply required to add the following lines to .travis.yml:
cache:
directories:
- node_modules