added support for npm