updating docs for npm usage