#1 Added support for optional parameters

And looks like NPM version is behind github one.