npm module
fixed for npm
Merge pull request #1 from yawetse/master

module for npm