exported API as plain npm module
Merge pull request #7 from thanpolas/expand-API

exported API as plain npm module