added NPM support