added package support for npm