mscdex/node-xxhash — pull request #6 by ceejbot (2013-12-31 22:28:15+00:00)
Title: adapted binding to use nan for cross-version compatibility

This change or something like it is required for the module to work with node 0.11 and therefore 0.12, thanks to V8 API changes.

- Added a dependency on [nan](https://github.com/rvagg/nan).
- Adapted the bindings to use nan macros to smooth over V8 api changes.
- Added a check in update() to see if it's called after digest, so we throw an exception instead of crashing.
- Wrote a small set of mocha unit tests so I could be satisfied that the bindings were working properly after being changed.
- Added a .travis.yml file for automated testing.

The Travis 0.11 build is failing for unrelated reasons, I believe. You can use [nvm](https://github.com/brianloveswords/nvm) to install 0.11.9 and test by hand.