added npm-version function with tests
described api
bumped version: