Add compatibility with Node.js.
Add test suite.
Add gitignore file.