Add exports for NPM support.
Merge pull request #2 from bendiy/master

Add exports for NPM support.