Added npm support.
Merge pull request #6 from firstandthird/feature/npm-support

Added npm support.